Static
defaultStatic
deserializeParses out a UstarHeader instance from the given input buffer, at the given offset. The given offset must be a multiple of SECTOR_SIZE.
If the sector at the given offset is not marked with a ustar indicator, this will return null.
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
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.