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

Usage in Deno

import { Serializer } from "node:v8";
Serializer.prototype.writeValue(val: any): boolean

Serializes a JavaScript value and adds the serialized representation to the internal buffer.

This throws an error if value cannot be serialized.

Parameters

val: any

Return Type

boolean