serializer.writeRawBytes(buffer)
buffer
<Buffer> | <TypedArray> | <DataView>
将原始字节写入序列化器的内部缓冲区。
反序列化器需要一种方法来计算缓冲区的长度。
用于自定义的 serializer._writeHostObject()
内部。
buffer
<Buffer> | <TypedArray> | <DataView>
Write raw bytes into the serializer's internal buffer. The deserializer
will require a way to compute the length of the buffer.
For use inside of a custom serializer._writeHostObject()
.