Skip to main content

write_view

Function write_view 

Source
pub fn write_view(v: &Value, bytes: &[u8])
Expand description

Overwrite the bytes a byte VIEW (or an ArrayBuffer) exposes, from its first byte — the write-side twin of view_bytes, so an API that fills a caller’s view (randomFillSync, readSync) reaches every view kind and the memory it aliases.