PosixHeader
Defined in: src/tar/tar.ts:56
POSIX header.
Extends
Section titled “Extends”object
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new PosixHeader(
buffer?,byteOffset?,byteLength?):PosixHeader
Defined in: node_modules/memium/dist/structs.shared.d.ts:17
Parameters
Section titled “Parameters”buffer?
Section titled “buffer?”any
byteOffset?
Section titled “byteOffset?”number
byteLength?
Section titled “byteLength?”number
Returns
Section titled “Returns”PosixHeader
Inherited from
Section titled “Inherited from”struct.packed('posix_header', { name: t.char(100), mode: t.char(8), uid: t.char(8), gid: t.char(8), size: t.char(12), mtime: t.char(12), chksum: t.char(8), typeflag: t.char.$type<TypeFlag>(), linkname: t.char(100), magic: t.char(6), version: t.char(2), uname: t.char(32), gname: t.char(32), devmajor: t.char(8), devminor: t.char(8), prefix: t.char(155), }).constructor
Properties
Section titled “Properties”buffer
Section titled “buffer”
readonlybuffer:any
Defined in: ../../node_modules/typescript/lib/lib.es5.d.ts:1731
The ArrayBuffer instance referenced by the array.
Inherited from
Section titled “Inherited from”struct.packed('posix_header', { name: t.char(100), mode: t.char(8), uid: t.char(8), gid: t.char(8), size: t.char(12), mtime: t.char(12), chksum: t.char(8), typeflag: t.char.$type<TypeFlag>(), linkname: t.char(100), magic: t.char(6), version: t.char(2), uname: t.char(32), gname: t.char(32), devmajor: t.char(8), devminor: t.char(8), prefix: t.char(155), }).buffer
byteLength
Section titled “byteLength”
readonlybyteLength:number
Defined in: ../../node_modules/typescript/lib/lib.es5.d.ts:1736
The length in bytes of the array.
Inherited from
Section titled “Inherited from”struct.packed('posix_header', { name: t.char(100), mode: t.char(8), uid: t.char(8), gid: t.char(8), size: t.char(12), mtime: t.char(12), chksum: t.char(8), typeflag: t.char.$type<TypeFlag>(), linkname: t.char(100), magic: t.char(6), version: t.char(2), uname: t.char(32), gname: t.char(32), devmajor: t.char(8), devminor: t.char(8), prefix: t.char(155), }).byteLength
byteOffset
Section titled “byteOffset”
readonlybyteOffset:number
Defined in: ../../node_modules/typescript/lib/lib.es5.d.ts:1741
The offset in bytes of the array.
Inherited from
Section titled “Inherited from”struct.packed('posix_header', { name: t.char(100), mode: t.char(8), uid: t.char(8), gid: t.char(8), size: t.char(12), mtime: t.char(12), chksum: t.char(8), typeflag: t.char.$type<TypeFlag>(), linkname: t.char(100), magic: t.char(6), version: t.char(2), uname: t.char(32), gname: t.char(32), devmajor: t.char(8), devminor: t.char(8), prefix: t.char(155), }).byteOffset
chksum
Section titled “chksum”chksum:
Uint8Array<ArrayBuffer>
Defined in: src/tar/tar.ts:63
Inherited from
Section titled “Inherited from”struct.packed('posix_header', { name: t.char(100), mode: t.char(8), uid: t.char(8), gid: t.char(8), size: t.char(12), mtime: t.char(12), chksum: t.char(8), typeflag: t.char.$type<TypeFlag>(), linkname: t.char(100), magic: t.char(6), version: t.char(2), uname: t.char(32), gname: t.char(32), devmajor: t.char(8), devminor: t.char(8), prefix: t.char(155), }).chksum
constructor
Section titled “constructor”constructor:
StructConstructor<{chksum:Uint8Array<ArrayBuffer>;devmajor:Uint8Array<ArrayBuffer>;devminor:Uint8Array<ArrayBuffer>;gid:Uint8Array<ArrayBuffer>;gname:Uint8Array<ArrayBuffer>;linkname:Uint8Array<ArrayBuffer>;magic:Uint8Array<ArrayBuffer>;mode:Uint8Array<ArrayBuffer>;mtime:Uint8Array<ArrayBuffer>;name:Uint8Array<ArrayBuffer>;prefix:Uint8Array<ArrayBuffer>;size:Uint8Array<ArrayBuffer>;typeflag:TypeFlag;uid:Uint8Array<ArrayBuffer>;uname:Uint8Array<ArrayBuffer>;version:Uint8Array<ArrayBuffer>; }>
Defined in: node_modules/memium/dist/structs.shared.d.ts:5
Inherited from
Section titled “Inherited from”struct.packed('posix_header', { name: t.char(100), mode: t.char(8), uid: t.char(8), gid: t.char(8), size: t.char(12), mtime: t.char(12), chksum: t.char(8), typeflag: t.char.$type<TypeFlag>(), linkname: t.char(100), magic: t.char(6), version: t.char(2), uname: t.char(32), gname: t.char(32), devmajor: t.char(8), devminor: t.char(8), prefix: t.char(155), }).constructor
devmajor
Section titled “devmajor”devmajor:
Uint8Array<ArrayBuffer>
Defined in: src/tar/tar.ts:70
Inherited from
Section titled “Inherited from”struct.packed('posix_header', { name: t.char(100), mode: t.char(8), uid: t.char(8), gid: t.char(8), size: t.char(12), mtime: t.char(12), chksum: t.char(8), typeflag: t.char.$type<TypeFlag>(), linkname: t.char(100), magic: t.char(6), version: t.char(2), uname: t.char(32), gname: t.char(32), devmajor: t.char(8), devminor: t.char(8), prefix: t.char(155), }).devmajor
devminor
Section titled “devminor”devminor:
Uint8Array<ArrayBuffer>
Defined in: src/tar/tar.ts:71
Inherited from
Section titled “Inherited from”struct.packed('posix_header', { name: t.char(100), mode: t.char(8), uid: t.char(8), gid: t.char(8), size: t.char(12), mtime: t.char(12), chksum: t.char(8), typeflag: t.char.$type<TypeFlag>(), linkname: t.char(100), magic: t.char(6), version: t.char(2), uname: t.char(32), gname: t.char(32), devmajor: t.char(8), devminor: t.char(8), prefix: t.char(155), }).devminor
gid:
Uint8Array<ArrayBuffer>
Defined in: src/tar/tar.ts:60
Inherited from
Section titled “Inherited from”struct.packed('posix_header', { name: t.char(100), mode: t.char(8), uid: t.char(8), gid: t.char(8), size: t.char(12), mtime: t.char(12), chksum: t.char(8), typeflag: t.char.$type<TypeFlag>(), linkname: t.char(100), magic: t.char(6), version: t.char(2), uname: t.char(32), gname: t.char(32), devmajor: t.char(8), devminor: t.char(8), prefix: t.char(155), }).gid
gname:
Uint8Array<ArrayBuffer>
Defined in: src/tar/tar.ts:69
Inherited from
Section titled “Inherited from”struct.packed('posix_header', { name: t.char(100), mode: t.char(8), uid: t.char(8), gid: t.char(8), size: t.char(12), mtime: t.char(12), chksum: t.char(8), typeflag: t.char.$type<TypeFlag>(), linkname: t.char(100), magic: t.char(6), version: t.char(2), uname: t.char(32), gname: t.char(32), devmajor: t.char(8), devminor: t.char(8), prefix: t.char(155), }).gname
linkname
Section titled “linkname”linkname:
Uint8Array<ArrayBuffer>
Defined in: src/tar/tar.ts:65
Inherited from
Section titled “Inherited from”struct.packed('posix_header', { name: t.char(100), mode: t.char(8), uid: t.char(8), gid: t.char(8), size: t.char(12), mtime: t.char(12), chksum: t.char(8), typeflag: t.char.$type<TypeFlag>(), linkname: t.char(100), magic: t.char(6), version: t.char(2), uname: t.char(32), gname: t.char(32), devmajor: t.char(8), devminor: t.char(8), prefix: t.char(155), }).linkname
magic:
Uint8Array<ArrayBuffer>
Defined in: src/tar/tar.ts:66
Inherited from
Section titled “Inherited from”struct.packed('posix_header', { name: t.char(100), mode: t.char(8), uid: t.char(8), gid: t.char(8), size: t.char(12), mtime: t.char(12), chksum: t.char(8), typeflag: t.char.$type<TypeFlag>(), linkname: t.char(100), magic: t.char(6), version: t.char(2), uname: t.char(32), gname: t.char(32), devmajor: t.char(8), devminor: t.char(8), prefix: t.char(155), }).magic
mode:
Uint8Array<ArrayBuffer>
Defined in: src/tar/tar.ts:58
Inherited from
Section titled “Inherited from”struct.packed('posix_header', { name: t.char(100), mode: t.char(8), uid: t.char(8), gid: t.char(8), size: t.char(12), mtime: t.char(12), chksum: t.char(8), typeflag: t.char.$type<TypeFlag>(), linkname: t.char(100), magic: t.char(6), version: t.char(2), uname: t.char(32), gname: t.char(32), devmajor: t.char(8), devminor: t.char(8), prefix: t.char(155), }).mode
mtime:
Uint8Array<ArrayBuffer>
Defined in: src/tar/tar.ts:62
Inherited from
Section titled “Inherited from”struct.packed('posix_header', { name: t.char(100), mode: t.char(8), uid: t.char(8), gid: t.char(8), size: t.char(12), mtime: t.char(12), chksum: t.char(8), typeflag: t.char.$type<TypeFlag>(), linkname: t.char(100), magic: t.char(6), version: t.char(2), uname: t.char(32), gname: t.char(32), devmajor: t.char(8), devminor: t.char(8), prefix: t.char(155), }).mtime
name:
Uint8Array<ArrayBuffer>
Defined in: src/tar/tar.ts:57
Inherited from
Section titled “Inherited from”struct.packed('posix_header', { name: t.char(100), mode: t.char(8), uid: t.char(8), gid: t.char(8), size: t.char(12), mtime: t.char(12), chksum: t.char(8), typeflag: t.char.$type<TypeFlag>(), linkname: t.char(100), magic: t.char(6), version: t.char(2), uname: t.char(32), gname: t.char(32), devmajor: t.char(8), devminor: t.char(8), prefix: t.char(155), }).name
prefix
Section titled “prefix”prefix:
Uint8Array<ArrayBuffer>
Defined in: src/tar/tar.ts:72
Inherited from
Section titled “Inherited from”struct.packed('posix_header', { name: t.char(100), mode: t.char(8), uid: t.char(8), gid: t.char(8), size: t.char(12), mtime: t.char(12), chksum: t.char(8), typeflag: t.char.$type<TypeFlag>(), linkname: t.char(100), magic: t.char(6), version: t.char(2), uname: t.char(32), gname: t.char(32), devmajor: t.char(8), devminor: t.char(8), prefix: t.char(155), }).prefix
size:
Uint8Array<ArrayBuffer>
Defined in: src/tar/tar.ts:61
Inherited from
Section titled “Inherited from”struct.packed('posix_header', { name: t.char(100), mode: t.char(8), uid: t.char(8), gid: t.char(8), size: t.char(12), mtime: t.char(12), chksum: t.char(8), typeflag: t.char.$type<TypeFlag>(), linkname: t.char(100), magic: t.char(6), version: t.char(2), uname: t.char(32), gname: t.char(32), devmajor: t.char(8), devminor: t.char(8), prefix: t.char(155), }).size
typeflag
Section titled “typeflag”typeflag:
TypeFlag
Defined in: src/tar/tar.ts:64
Inherited from
Section titled “Inherited from”struct.packed('posix_header', { name: t.char(100), mode: t.char(8), uid: t.char(8), gid: t.char(8), size: t.char(12), mtime: t.char(12), chksum: t.char(8), typeflag: t.char.$type<TypeFlag>(), linkname: t.char(100), magic: t.char(6), version: t.char(2), uname: t.char(32), gname: t.char(32), devmajor: t.char(8), devminor: t.char(8), prefix: t.char(155), }).typeflag
uid:
Uint8Array<ArrayBuffer>
Defined in: src/tar/tar.ts:59
Inherited from
Section titled “Inherited from”struct.packed('posix_header', { name: t.char(100), mode: t.char(8), uid: t.char(8), gid: t.char(8), size: t.char(12), mtime: t.char(12), chksum: t.char(8), typeflag: t.char.$type<TypeFlag>(), linkname: t.char(100), magic: t.char(6), version: t.char(2), uname: t.char(32), gname: t.char(32), devmajor: t.char(8), devminor: t.char(8), prefix: t.char(155), }).uid
uname:
Uint8Array<ArrayBuffer>
Defined in: src/tar/tar.ts:68
Inherited from
Section titled “Inherited from”struct.packed('posix_header', { name: t.char(100), mode: t.char(8), uid: t.char(8), gid: t.char(8), size: t.char(12), mtime: t.char(12), chksum: t.char(8), typeflag: t.char.$type<TypeFlag>(), linkname: t.char(100), magic: t.char(6), version: t.char(2), uname: t.char(32), gname: t.char(32), devmajor: t.char(8), devminor: t.char(8), prefix: t.char(155), }).uname
version
Section titled “version”version:
Uint8Array<ArrayBuffer>
Defined in: src/tar/tar.ts:67
Inherited from
Section titled “Inherited from”struct.packed('posix_header', { name: t.char(100), mode: t.char(8), uid: t.char(8), gid: t.char(8), size: t.char(12), mtime: t.char(12), chksum: t.char(8), typeflag: t.char.$type<TypeFlag>(), linkname: t.char(100), magic: t.char(6), version: t.char(2), uname: t.char(32), gname: t.char(32), devmajor: t.char(8), devminor: t.char(8), prefix: t.char(155), }).version
alignment
Section titled “alignment”
readonlystaticalignment:number
Defined in: node_modules/memium/dist/structs.shared.d.ts:11
Inherited from
Section titled “Inherited from”struct.packed('posix_header', { name: t.char(100), mode: t.char(8), uid: t.char(8), gid: t.char(8), size: t.char(12), mtime: t.char(12), chksum: t.char(8), typeflag: t.char.$type<TypeFlag>(), linkname: t.char(100), magic: t.char(6), version: t.char(2), uname: t.char(32), gname: t.char(32), devmajor: t.char(8), devminor: t.char(8), prefix: t.char(155), }).alignment
array?
Section titled “array?”
readonlystaticoptionalarray?:TypeArrayConstructor<object&ArrayBufferView<ArrayBufferLike>>
Defined in: node_modules/memium/dist/types.d.ts:14
Inherited from
Section titled “Inherited from”struct.packed('posix_header', { name: t.char(100), mode: t.char(8), uid: t.char(8), gid: t.char(8), size: t.char(12), mtime: t.char(12), chksum: t.char(8), typeflag: t.char.$type<TypeFlag>(), linkname: t.char(100), magic: t.char(6), version: t.char(2), uname: t.char(32), gname: t.char(32), devmajor: t.char(8), devminor: t.char(8), prefix: t.char(155), }).array
isDynamic?
Section titled “isDynamic?”
readonlystaticoptionalisDynamic?:boolean
Defined in: node_modules/memium/dist/structs.shared.d.ts:13
Inherited from
Section titled “Inherited from”struct.packed('posix_header', { name: t.char(100), mode: t.char(8), uid: t.char(8), gid: t.char(8), size: t.char(12), mtime: t.char(12), chksum: t.char(8), typeflag: t.char.$type<TypeFlag>(), linkname: t.char(100), magic: t.char(6), version: t.char(2), uname: t.char(32), gname: t.char(32), devmajor: t.char(8), devminor: t.char(8), prefix: t.char(155), }).isDynamic
isUnion
Section titled “isUnion”
readonlystaticisUnion:boolean
Defined in: node_modules/memium/dist/structs.shared.d.ts:12
Inherited from
Section titled “Inherited from”struct.packed('posix_header', { name: t.char(100), mode: t.char(8), uid: t.char(8), gid: t.char(8), size: t.char(12), mtime: t.char(12), chksum: t.char(8), typeflag: t.char.$type<TypeFlag>(), linkname: t.char(100), magic: t.char(6), version: t.char(2), uname: t.char(32), gname: t.char(32), devmajor: t.char(8), devminor: t.char(8), prefix: t.char(155), }).isUnion
readonlystaticname:string
Defined in: node_modules/memium/dist/types.d.ts:12
Inherited from
Section titled “Inherited from”struct.packed('posix_header', { name: t.char(100), mode: t.char(8), uid: t.char(8), gid: t.char(8), size: t.char(12), mtime: t.char(12), chksum: t.char(8), typeflag: t.char.$type<TypeFlag>(), linkname: t.char(100), magic: t.char(6), version: t.char(2), uname: t.char(32), gname: t.char(32), devmajor: t.char(8), devminor: t.char(8), prefix: t.char(155), }).name
readonlystaticsize:number
Defined in: node_modules/memium/dist/types.d.ts:13
Inherited from
Section titled “Inherited from”struct.packed('posix_header', { name: t.char(100), mode: t.char(8), uid: t.char(8), gid: t.char(8), size: t.char(12), mtime: t.char(12), chksum: t.char(8), typeflag: t.char.$type<TypeFlag>(), linkname: t.char(100), magic: t.char(6), version: t.char(2), uname: t.char(32), gname: t.char(32), devmajor: t.char(8), devminor: t.char(8), prefix: t.char(155), }).size
Methods
Section titled “Methods”toEntry()
Section titled “toEntry()”toEntry():
Entry
Defined in: src/tar/tar.ts:74
Returns
Section titled “Returns”
staticget(this,buffer,offset):object&ArrayBufferView<ArrayBufferLike>
Defined in: node_modules/memium/dist/types.d.ts:17
Get a value from a buffer
Parameters
Section titled “Parameters”void
buffer
Section titled “buffer”ArrayBufferLike
offset
Section titled “offset”number
Returns
Section titled “Returns”object & ArrayBufferView<ArrayBufferLike>
Inherited from
Section titled “Inherited from”struct.packed('posix_header', { name: t.char(100), mode: t.char(8), uid: t.char(8), gid: t.char(8), size: t.char(12), mtime: t.char(12), chksum: t.char(8), typeflag: t.char.$type<TypeFlag>(), linkname: t.char(100), magic: t.char(6), version: t.char(2), uname: t.char(32), gname: t.char(32), devmajor: t.char(8), devminor: t.char(8), prefix: t.char(155), }).get
staticset(this,buffer,offset,value):void
Defined in: node_modules/memium/dist/types.d.ts:19
Set a value in a buffer
Parameters
Section titled “Parameters”void
buffer
Section titled “buffer”ArrayBufferLike
offset
Section titled “offset”number
object & ArrayBufferView<ArrayBufferLike>
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”struct.packed('posix_header', { name: t.char(100), mode: t.char(8), uid: t.char(8), gid: t.char(8), size: t.char(12), mtime: t.char(12), chksum: t.char(8), typeflag: t.char.$type<TypeFlag>(), linkname: t.char(100), magic: t.char(6), version: t.char(2), uname: t.char(32), gname: t.char(32), devmajor: t.char(8), devminor: t.char(8), prefix: t.char(155), }).set