Browse Source

Make `IntegerIndexed::byte_offset` public (#3017)

This allows querying the full range of the `TypedArray` in the
underlying `ArrayBuffer`.
pull/3026/head
Christopher Serr 2 years ago committed by GitHub
parent
commit
dfba57e39a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      boa_engine/src/builtins/typed_array/integer_indexed_object.rs

2
boa_engine/src/builtins/typed_array/integer_indexed_object.rs

@ -66,7 +66,7 @@ impl IntegerIndexed {
}
/// Get the integer indexed object's byte offset.
pub(crate) const fn byte_offset(&self) -> u64 {
pub const fn byte_offset(&self) -> u64 {
self.byte_offset
}

Loading…
Cancel
Save