amber/web/uint8_array

Types

A typed array of 8-bit unsigned integer values. The contents are initialized to 0. If the requested number of bytes could not be allocated an exception is raised.

pub type Uint8Array

Functions

pub fn buffer(uint8_array: Uint8Array) -> ArrayBuffer
pub fn byte_length(uint8_array: Uint8Array) -> Int
pub fn byte_offset(uint8_array: Uint8Array) -> Int
pub fn from_length(length: Int) -> Uint8Array
pub fn from_list(list: List(Int)) -> Uint8Array
pub fn new() -> Uint8Array
Search Document