pub fn give_output(bytes: Vec<u8>) -> Val
give a buffer to javascript without a copy: its whole capacity becomes the ArrayBuffer, the content is a view of its length (like the output buffer of the typescript writer)
ArrayBuffer