deserializer.readHeader()


读取并验证头部(包括格式版本)。例如,可能会拒绝无效或不受支持的传输格式。在这种情况下,会抛出 Error

【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.】