Skip to content

PrimaryVolumeDescriptor

Defined in: src/iso/VolumeDescriptor.ts:38

Primary or supplementary volume descriptor. Supplementary VDs are basically PVDs with some extra sauce, so we use the same struct for both.

new PrimaryVolumeDescriptor(name?, …args): PrimaryVolumeDescriptor

Defined in: src/iso/VolumeDescriptor.ts:41

string = ...

The name of the volume descriptor type, either ‘ISO9660’ or ‘Joliet’.

…[ArrayBufferLike, number, number]

PrimaryVolumeDescriptor

VolumeDescriptor.constructor

protected optional _decoder?: TextDecoder

Defined in: src/iso/VolumeDescriptor.ts:69


readonly [toStringTag]: string

Defined in: ../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts:274

SystemUseEntry.[toStringTag]


readonly buffer: any

Defined in: ../../node_modules/typescript/lib/lib.es5.d.ts:1731

The ArrayBuffer instance referenced by the array.

VolumeDescriptor.buffer


readonly byteLength: number

Defined in: ../../node_modules/typescript/lib/lib.es5.d.ts:1736

The length in bytes of the array.

VolumeDescriptor.byteLength


readonly byteOffset: number

Defined in: ../../node_modules/typescript/lib/lib.es5.d.ts:1741

The offset in bytes of the array.

VolumeDescriptor.byteOffset


constructor: StructConstructor<BufferView<any>>

Defined in: node_modules/memium/dist/structs.shared.d.ts:5

VolumeDescriptor.constructor


readonly name: string

Defined in: src/iso/VolumeDescriptor.ts:45

The name of the volume descriptor type, either ‘ISO9660’ or ‘Joliet’.


readonly static alignment: number

Defined in: node_modules/memium/dist/structs.shared.d.ts:11

PosixHeader.alignment


readonly static optional array?: TypeArrayConstructor<BufferView<any> & ArrayBufferView<ArrayBufferLike>>

Defined in: node_modules/memium/dist/types.d.ts:14

VolumeDescriptor.array


readonly static optional isDynamic?: boolean

Defined in: node_modules/memium/dist/structs.shared.d.ts:13

PosixHeader.isDynamic


readonly static isUnion: boolean

Defined in: node_modules/memium/dist/structs.shared.d.ts:12

PosixHeader.isUnion


static name: string = 'PrimaryVolumeDescriptor'

Defined in: src/iso/VolumeDescriptor.ts:39

VolumeDescriptor.name


readonly static size: number

Defined in: node_modules/memium/dist/types.d.ts:13

PosixHeader.size

Defined in: src/iso/VolumeDescriptor.ts:30

VolumeDescriptor.__padding__7


Defined in: src/iso/VolumeDescriptor.ts:101


Defined in: src/iso/VolumeDescriptor.ts:208


Defined in: src/iso/VolumeDescriptor.ts:196


Defined in: src/iso/VolumeDescriptor.ts:214


Defined in: src/iso/VolumeDescriptor.ts:202


Defined in: src/iso/VolumeDescriptor.ts:190


Defined in: src/iso/VolumeDescriptor.ts:158


Defined in: src/iso/VolumeDescriptor.ts:152


Defined in: src/iso/VolumeDescriptor.ts:131


Defined in: src/iso/VolumeDescriptor.ts:137


Defined in: src/iso/VolumeDescriptor.ts:184


Defined in: src/iso/VolumeDescriptor.ts:171

Directory entry for the root directory. Note that this is not an LBA address, it is the actual Directory Record, which contains a single byte Directory Identifier (0x00), hence the fixed 34 byte size.


Defined in: src/iso/VolumeDescriptor.ts:80

The name of the system that can act upon sectors 0x00-0x0F for the volume.


Defined in: src/iso/VolumeDescriptor.ts:92

Identification of this volume.


Defined in: src/iso/VolumeDescriptor.ts:124


Defined in: src/iso/VolumeDescriptor.ts:178


Defined in: src/iso/VolumeDescriptor.ts:118


Defined in: src/iso/VolumeDescriptor.ts:107


get abstractFileIdentifier(): string

Defined in: src/iso/VolumeDescriptor.ts:210

string


get applicationIdentifier(): string

Defined in: src/iso/VolumeDescriptor.ts:198

string


Defined in: src/iso/VolumeDescriptor.ts:230


get bibliographicFileIdentifier(): string

Defined in: src/iso/VolumeDescriptor.ts:216

string


get copyrightFileIdentifier(): string

Defined in: src/iso/VolumeDescriptor.ts:204

string


get dataPreparerIdentifier(): string

Defined in: src/iso/VolumeDescriptor.ts:192

string


Defined in: src/iso/VolumeDescriptor.ts:112

This is only used by Joliet


Defined in: src/iso/VolumeDescriptor.ts:228


Defined in: src/iso/VolumeDescriptor.ts:150

LBA location of the optional path table. The path table pointed to contains only little-endian values. Zero means that no optional path table exists.


Defined in: src/iso/VolumeDescriptor.ts:143

LBA location of the path table. The path table pointed to contains only little-endian values.


get locationOfTypeMPathTable(): number

Defined in: src/iso/VolumeDescriptor.ts:154

number


Defined in: src/iso/VolumeDescriptor.ts:130

The size in bytes of a logical block. NB: This means that a logical block on a CD could be something other than 2 KiB!


Defined in: src/iso/VolumeDescriptor.ts:136

The size in bytes of the path table.


get publisherIdentifier(): string

Defined in: src/iso/VolumeDescriptor.ts:186

string


Defined in: src/iso/VolumeDescriptor.ts:232


get root(): DirectoryRecord

Defined in: src/iso/VolumeDescriptor.ts:174

DirectoryRecord


Defined in: src/iso/VolumeDescriptor.ts:26

VolumeDescriptor.standardIdentifier


get systemIdentifier(): string

Defined in: src/iso/VolumeDescriptor.ts:85

The name of the system that can act upon sectors 0x00-0x0F for the volume.

string


Defined in: src/iso/VolumeDescriptor.ts:24

VolumeDescriptor.type


Defined in: src/iso/VolumeDescriptor.ts:28

VolumeDescriptor.version


Defined in: src/iso/VolumeDescriptor.ts:220


Defined in: src/iso/VolumeDescriptor.ts:226


Defined in: src/iso/VolumeDescriptor.ts:224


get volumeIdentifier(): string

Defined in: src/iso/VolumeDescriptor.ts:97

Identification of this volume.

string


Defined in: src/iso/VolumeDescriptor.ts:222


Defined in: src/iso/VolumeDescriptor.ts:123

The number of this disk in the Volume Set.


get volumeSetIdentifier(): string

Defined in: src/iso/VolumeDescriptor.ts:180

string


Defined in: src/iso/VolumeDescriptor.ts:117

The size of the set in this logical volume (number of disks).


Defined in: src/iso/VolumeDescriptor.ts:106

Number of Logical Blocks in which the volume is recorded.

protected _decode(data): string

Defined in: src/iso/VolumeDescriptor.ts:71

Uint8Array

string


getBigInt64(byteOffset, littleEndian?): bigint

Defined in: ../../node_modules/typescript/lib/lib.es2020.bigint.d.ts:732

Gets the BigInt64 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.

number

The place in the buffer at which the value should be retrieved.

boolean

If false or undefined, a big-endian value should be read.

bigint

VolumeDescriptor.getBigInt64


getBigUint64(byteOffset, littleEndian?): bigint

Defined in: ../../node_modules/typescript/lib/lib.es2020.bigint.d.ts:740

Gets the BigUint64 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.

number

The place in the buffer at which the value should be retrieved.

boolean

If false or undefined, a big-endian value should be read.

bigint

VolumeDescriptor.getBigUint64


getFloat16(byteOffset, littleEndian?): number

Defined in: ../../node_modules/typescript/lib/lib.es2025.float16.d.ts:434

Gets the Float16 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.

number

The place in the buffer at which the value should be retrieved.

boolean

If false or undefined, a big-endian value should be read.

number

VolumeDescriptor.getFloat16


getFloat32(byteOffset, littleEndian?): number

Defined in: ../../node_modules/typescript/lib/lib.es5.d.ts:1754

Gets the Float32 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.

number

The place in the buffer at which the value should be retrieved.

boolean

If false or undefined, a big-endian value should be read.

number

VolumeDescriptor.getFloat32


getFloat64(byteOffset, littleEndian?): number

Defined in: ../../node_modules/typescript/lib/lib.es5.d.ts:1762

Gets the Float64 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.

number

The place in the buffer at which the value should be retrieved.

boolean

If false or undefined, a big-endian value should be read.

number

VolumeDescriptor.getFloat64


getInt16(byteOffset, littleEndian?): number

Defined in: ../../node_modules/typescript/lib/lib.es5.d.ts:1777

Gets the Int16 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.

number

The place in the buffer at which the value should be retrieved.

boolean

If false or undefined, a big-endian value should be read.

number

VolumeDescriptor.getInt16


getInt32(byteOffset, littleEndian?): number

Defined in: ../../node_modules/typescript/lib/lib.es5.d.ts:1784

Gets the Int32 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.

number

The place in the buffer at which the value should be retrieved.

boolean

If false or undefined, a big-endian value should be read.

number

VolumeDescriptor.getInt32


getInt8(byteOffset): number

Defined in: ../../node_modules/typescript/lib/lib.es5.d.ts:1769

Gets the Int8 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.

number

The place in the buffer at which the value should be retrieved.

number

VolumeDescriptor.getInt8


getUint16(byteOffset, littleEndian?): number

Defined in: ../../node_modules/typescript/lib/lib.es5.d.ts:1799

Gets the Uint16 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.

number

The place in the buffer at which the value should be retrieved.

boolean

If false or undefined, a big-endian value should be read.

number

VolumeDescriptor.getUint16


getUint32(byteOffset, littleEndian?): number

Defined in: ../../node_modules/typescript/lib/lib.es5.d.ts:1807

Gets the Uint32 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.

number

The place in the buffer at which the value should be retrieved.

boolean

If false or undefined, a big-endian value should be read.

number

VolumeDescriptor.getUint32


getUint8(byteOffset): number

Defined in: ../../node_modules/typescript/lib/lib.es5.d.ts:1791

Gets the Uint8 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.

number

The place in the buffer at which the value should be retrieved.

number

VolumeDescriptor.getUint8


locationOfOptionalTypeMPathTable(): number

Defined in: src/iso/VolumeDescriptor.ts:160

number


setBigInt64(byteOffset, value, littleEndian?): void

Defined in: ../../node_modules/typescript/lib/lib.es2020.bigint.d.ts:748

Stores a BigInt64 value at the specified byte offset from the start of the view.

number

The place in the buffer at which the value should be set.

bigint

The value to set.

boolean

If false or undefined, a big-endian value should be written.

void

VolumeDescriptor.setBigInt64


setBigUint64(byteOffset, value, littleEndian?): void

Defined in: ../../node_modules/typescript/lib/lib.es2020.bigint.d.ts:756

Stores a BigUint64 value at the specified byte offset from the start of the view.

number

The place in the buffer at which the value should be set.

bigint

The value to set.

boolean

If false or undefined, a big-endian value should be written.

void

VolumeDescriptor.setBigUint64


setFloat16(byteOffset, value, littleEndian?): void

Defined in: ../../node_modules/typescript/lib/lib.es2025.float16.d.ts:442

Stores an Float16 value at the specified byte offset from the start of the view.

number

The place in the buffer at which the value should be set.

number

The value to set.

boolean

If false or undefined, a big-endian value should be written.

void

VolumeDescriptor.setFloat16


setFloat32(byteOffset, value, littleEndian?): void

Defined in: ../../node_modules/typescript/lib/lib.es5.d.ts:1815

Stores an Float32 value at the specified byte offset from the start of the view.

number

The place in the buffer at which the value should be set.

number

The value to set.

boolean

If false or undefined, a big-endian value should be written.

void

VolumeDescriptor.setFloat32


setFloat64(byteOffset, value, littleEndian?): void

Defined in: ../../node_modules/typescript/lib/lib.es5.d.ts:1823

Stores an Float64 value at the specified byte offset from the start of the view.

number

The place in the buffer at which the value should be set.

number

The value to set.

boolean

If false or undefined, a big-endian value should be written.

void

VolumeDescriptor.setFloat64


setInt16(byteOffset, value, littleEndian?): void

Defined in: ../../node_modules/typescript/lib/lib.es5.d.ts:1838

Stores an Int16 value at the specified byte offset from the start of the view.

number

The place in the buffer at which the value should be set.

number

The value to set.

boolean

If false or undefined, a big-endian value should be written.

void

VolumeDescriptor.setInt16


setInt32(byteOffset, value, littleEndian?): void

Defined in: ../../node_modules/typescript/lib/lib.es5.d.ts:1846

Stores an Int32 value at the specified byte offset from the start of the view.

number

The place in the buffer at which the value should be set.

number

The value to set.

boolean

If false or undefined, a big-endian value should be written.

void

VolumeDescriptor.setInt32


setInt8(byteOffset, value): void

Defined in: ../../node_modules/typescript/lib/lib.es5.d.ts:1830

Stores an Int8 value at the specified byte offset from the start of the view.

number

The place in the buffer at which the value should be set.

number

The value to set.

void

VolumeDescriptor.setInt8


setUint16(byteOffset, value, littleEndian?): void

Defined in: ../../node_modules/typescript/lib/lib.es5.d.ts:1861

Stores an Uint16 value at the specified byte offset from the start of the view.

number

The place in the buffer at which the value should be set.

number

The value to set.

boolean

If false or undefined, a big-endian value should be written.

void

VolumeDescriptor.setUint16


setUint32(byteOffset, value, littleEndian?): void

Defined in: ../../node_modules/typescript/lib/lib.es5.d.ts:1869

Stores an Uint32 value at the specified byte offset from the start of the view.

number

The place in the buffer at which the value should be set.

number

The value to set.

boolean

If false or undefined, a big-endian value should be written.

void

VolumeDescriptor.setUint32


setUint8(byteOffset, value): void

Defined in: ../../node_modules/typescript/lib/lib.es5.d.ts:1853

Stores an Uint8 value at the specified byte offset from the start of the view.

number

The place in the buffer at which the value should be set.

number

The value to set.

void

VolumeDescriptor.setUint8


toString(): string

Defined in: src/iso/VolumeDescriptor.ts:234

Returns a string representation of an object.

string


static get(this, buffer, offset): BufferView<any> & ArrayBufferView<ArrayBufferLike>

Defined in: node_modules/memium/dist/types.d.ts:17

Get a value from a buffer

void

ArrayBufferLike

number

BufferView<any> & ArrayBufferView<ArrayBufferLike>

VolumeDescriptor.get


static set(this, buffer, offset, value): void

Defined in: node_modules/memium/dist/types.d.ts:19

Set a value in a buffer

void

ArrayBufferLike

number

BufferView<any> & ArrayBufferView<ArrayBufferLike>

void

VolumeDescriptor.set