Skip to main content
Serializer.prototype.writeRawBytes - v8 - Node documentation
method Serializer.prototype.writeRawBytes

Usage in Deno

import { Serializer } from "node:v8";
Serializer.prototype.writeRawBytes(buffer: TypedArray): void

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