MCPcopy Create free account
hub / github.com/awslabs/llrt / get_array_buffer

Method get_array_buffer

modules/llrt_stream_web/src/readable/byob_reader.rs:467–472  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

465 }
466
467 pub(super) fn get_array_buffer(&self) -> Result<(ArrayBuffer<'js>, usize, usize)> {
468 Ok(self
469 .0
470 .get_array_buffer()?
471 .expect("invariant broken; ViewBytes may not contain ObjectBytes::Vec"))
472 }
473
474 pub(super) fn element_size(&self) -> usize {
475 match self.0 {

Callers 15

fromFunction · 0.45
copyFunction · 0.45
writeFunction · 0.45
write_bufFunction · 0.45
read_bufFunction · 0.45
random_fill_syncFunction · 0.45
get_random_valuesFunction · 0.45
enqueueMethod · 0.45
respondMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected