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

Method into_js

modules/llrt_buffer/src/buffer.rs:41–44  ·  view source on GitHub ↗
(self, ctx: &Ctx<'js>)

Source from the content-addressed store, hash-verified

39
40fn resolve_view_bytes<'js>(
41 ctx: &Ctx<'js>,
42 array_buffer: ArrayBuffer<'js>,
43 byte_length: usize,
44 byte_offset: usize,
45) -> Result<&'js mut [u8]> {
46 let raw = array_buffer
47 .as_raw()

Callers 10

from_encodingMethod · 0.45
from_string_encodingMethod · 0.45
allocFunction · 0.45
alloc_byte_refFunction · 0.45
alloc_unsafeFunction · 0.45
alloc_unsafe_slowFunction · 0.45
concatFunction · 0.45
fromFunction · 0.45
evaluateMethod · 0.45
from_bytesMethod · 0.45

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected