Readonly
constantReadonly
nameReadonly
offsetReadonly
sizeReadonly
transformReadonly
typeStatic
Readonly
deviceStatic
Readonly
deviceStatic
Readonly
fileStatic
Readonly
fileStatic
Readonly
fileStatic
Readonly
fileStatic
Readonly
groupStatic
Readonly
headerStatic
Readonly
lastStatic
Readonly
linkedStatic
Readonly
ownerStatic
Readonly
ownerStatic
Readonly
ownerStatic
Readonly
typeStatic
Readonly
ustarStatic
Readonly
ustarCalculates the checksum value for this field in the given input buffer, at the given offset. All field checksum values are aggregated together to form the main header checksum entry.
the input buffer to extract a field checksum from
the offset of the header in the buffer (will be combined with this field's offset)
the checksum value for this specific field
a buffer of one or more complete tar sectors
The value parsed from the input based on this field's transform type,
or undefined
on error.
Runs deserialize()
while also taking this field's offset into account.
the value to be serialized, based on this field's transform type.
the serialized value as a Uint8Array
a buffer of one or more complete tar sectors
the offset to slice from (must be a multiple of SECTOR_SIZE
)
the slice of the given input Uint8Array that this field resides in.
Shorthand for padding the output of slice
into decodeString
.
Optional
offset: numberSerialize the given value and set the output bytes in the given output buffer.
the output buffer to be written to
the offset of the header in the output buffer to insert the update. Note that this field's offset will be added to the header offset when inserting.
the value to be serialized
true if the buffer was updated
Static
allStatic
checksumStatic
frozen
Definitions taken from here: https://en.wikipedia.org/wiki/Tar_(computing)