Skip to main content

Module buffer_source

Module buffer_source 

Source

Structsยง

DataBlock ๐Ÿ”’
DataView ๐Ÿ”’
DataView are created from NewExternalArrayBuffer, so SM will detach the underlying buffer when the DataView is GCed.
HeapBufferSource ๐Ÿ”’

Enumsยง

ArrayBufferViewOrArrayBufferRef ๐Ÿ”’
BufferSource ๐Ÿ”’
Represents a BufferSource as defined in the WebIDL specification.
Constructor ๐Ÿ”’

Functionsยง

byte_size ๐Ÿ”’
construct_typed_array ๐Ÿ”’
Helper function to construct different TypedArray views
create_array_buffer_with_size ๐Ÿ”’
create_buffer_source ๐Ÿ”’
https://webidl.spec.whatwg.org/#arraybufferview-create
create_buffer_source_with_constructor ๐Ÿ”’
create_buffer_source_with_length ๐Ÿ”’
create_heap_buffer_source_with_length ๐Ÿ”’
get_buffer_source_copy ๐Ÿ”’
https://webidl.spec.whatwg.org/#dfn-get-buffer-source-copy
get_buffer_source_slice ๐Ÿ”’
Returns a slice referencing the bytes in the buffer source, without copying.
range_overlap ๐Ÿ”’
Returns true if two non-inclusive ranges overlap

Type Aliasesยง

RootedTypedArray ๐Ÿ”’