Skip to main content
Serializer.prototype.writeRawBytes - node__v8.d.ts - Node documentation
method Serializer.prototype.writeRawBytes

Usage in Deno

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