$headerId || $headerId > 0xffff) { throw new ZipException('headerId out of range'); } self::$headerId = $headerId; } /** * Returns the Header ID (type) of this Extra Field. * The Header ID is an unsigned short integer (two bytes) * which must be constant during the life cycle of this object. * * @return int */ public static function getHeaderId() { return self::$headerId & 0xffff; } /** * Serializes a Data Block. * @return string */ public function serialize() { return $this->data; } /** * Initializes this Extra Field by deserializing a Data Block. * @param string $data */ public function deserialize($data) { $this->data = $data; } }