Skip to main content
Deserializer.prototype.readHeader - v8 - 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
Back to top