Readonly
bytesReadonly
offsetOverride all values in the header.
Any values not provided in attrs
will be filled in with default values.
this
for operation chaining
Mechanism to batch-update properties. Automatically normalizes the header if any changes were made.
this
for operation chaining
Ensures the state of the header is synced after changes have been made.
this
for operation chaining
Static
defaultA copy of the defaults used by all headers
Static
fromA new UstarHeader
instance based on the given attributes (if they are a POJO).
Note that if the given value is already a UstarHeader instance, this will return it as-is.
Static
isStatic
seededA new UstarHeader
instance populated with the content returned by defaultValues()
Static
serializeShort-hand for constructing a new UstarHeader
and immediately calling toUint8Array()
on it
Generated using TypeDoc
Facade over a backing Uint8Array buffer to consume/edit header data at a specific location in the buffer.
Does not perform any mutations or reads on creation, and lazy loads/sets data via getters and setters.