Struct stdweb::web::ArrayBuffer [] [src]

pub struct ArrayBuffer(_);

The ArrayBuffer object is used to represent a generic, fixed-length raw binary data buffer. You cannot directly manipulate the contents of an ArrayBuffer; instead, you create an TypedArray to do it.

(JavaScript docs)

Methods

impl ArrayBuffer
[src]

[src]

Creates a new ArrayBuffer with the given length in bytes.

[src]

Returns the length of the buffer, in bytes.

Trait Implementations

impl Debug for ArrayBuffer
[src]

[src]

Formats the value using the given formatter.

impl Clone for ArrayBuffer
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl AsRef<Reference> for ArrayBuffer
[src]

[src]

Performs the conversion.

impl<R: TryInto<Reference>> TryFrom<R> for ArrayBuffer where
    <R as TryInto<Reference>>::Error: Into<Box<Error>>, 
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.