Skip to main content

window_bytes_h

Function window_bytes_h 

Source
pub fn window_bytes_h(h: &JsHost, p: &IndexMap<String, Value>) -> Vec<u8> ⓘ
Expand description

The bytes a Buffer’s window covers, with the host borrow held. Every reader of a Buffer’s bytes goes through here: the store is SHARED with its ArrayBuffer and with every other view over it, so reading the whole store returns bytes that are not the Buffer’s.