Skip to main content
method Serializer.prototype.writeValue
Serializer.prototype.writeValue(val: any): boolean
Deprecated

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
Back to top