Skip to main content
Deserializer.prototype.readRawBytes - v8 - Node documentation
method Deserializer.prototype.readRawBytes

Usage in Deno

import { Deserializer } from "node:v8";
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