deno.com

method Deserializer.prototype.readHeader

#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