pub fn byte_array_from_vec(bytes: Vec<u8>) -> Obj
A ByteArray that takes over the buffer of bytes.
ByteArray
bytes