pub fn byte_set(recv: &Value, index: &str, val: &Value) -> boolExpand description
buf[i] = n — write one byte (truncated to 8 bits, as a Uint8Array does).
Returns whether recv was a Buffer and the write landed.
Writes the single element in place; the old path copied the buffer out, changed one byte, and wrote every byte back.