Skip to main content
Deserializer.prototype.readRawBytes - node__v8.d.ts - Node documentation
method Deserializer.prototype.readRawBytes

Usage in Deno

```typescript import { Deserializer } from "node:node__v8.d.ts"; ```
Deserializer.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

length: number

Return Type

Buffer