pub fn from_bytes(bytes: &[u8]) -> ValueExpand description
Build a Buffer value from raw bytes.
Every Buffer is a VIEW: the bytes live in an ArrayBuffer (its .buffer)
and the Buffer shares that store. It used to own a private array with no
buffer behind it, so buf.buffer threw on every Buffer node-js made.