Skip to main content

readRawBytes

method Deserializer.prototype.readRawBytes
Jump to headingDeserializer.prototype.readRawBytes(length: number): Buffer

Read raw bytes from the deserializer's internal buffer. The length parameter must correspond to the length of the buffer that was passed to serializer.writeRawBytes(). For use inside of a custom deserializer._readHostObject().

Parameters Jump to heading

Jump to headinglength: number

Return Type Jump to heading

Buffer
Back to top