public ByteArray(ByteArray data) { _buffer = data._buffer; }
internal void Write(ByteArray obj) { WriteScalar(obj._writeoffset); Write(obj._buffer); }