Skip to main content

Module buffer_source

Module buffer_source 

Source

Structsยง

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.

Type Aliasesยง

RootedTypedArray ๐Ÿ”’