Serializer.prototype.writeRawBytes - Node documentation
method Serializer.prototype.writeRawBytes

Usage

import { Serializer } from "node:v8";

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().

Parameters

buffer: TypedArray

Return Type

void