Deserializer.prototype.readHeader - Node documentation
method Deserializer.prototype.readHeader

Usage in Deno

import { Deserializer } from "node:v8";
Deserializer.prototype.readHeader(): boolean

Reads and validates a header (including the format version). May, for example, reject an invalid or unsupported wire format. In that case, an Error is thrown.

Return Type

boolean