Readonly
[toReadonly
bufferReadonly
byteReadonly
byteReadonly
constructorThe initial value of Object.prototype.constructor is the standard built-in Object constructor.
Padded to 256 bytes
The crc32c checksum for the super block.
Flags for the file system. Currently unused
Which format of Inode
is used
An optional label for the file system
Signature for the superblock.
The size in bytes of a metadata block. Not currently configurable.
Offset of the current metadata block
Protected
metadata_Reserved for 64-bit offset expansion
The total size of the entire file system, including the super block and metadata
The number of used bytes, including the super block and metadata
A UUID for this file system
The version of the on-disk format
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.
The place in the buffer at which the value should be retrieved.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be read.
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.
The place in the buffer at which the value should be retrieved.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be read.
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.
The place in the buffer at which the value should be retrieved.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be read.
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.
The place in the buffer at which the value should be retrieved.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be read.
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.
The place in the buffer at which the value should be retrieved.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be read.
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.
The place in the buffer at which the value should be retrieved.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be read.
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.
The place in the buffer at which the value should be retrieved.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be read.
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.
The place in the buffer at which the value should be retrieved.
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.
The place in the buffer at which the value should be retrieved.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be read.
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.
The place in the buffer at which the value should be retrieved.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be read.
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.
The place in the buffer at which the value should be retrieved.
Internal
Checks to see if length
bytes are unused, starting at offset
.
Not for external use!
Rotate out the current metadata block. Allocates a new metadata block, moves the current one to backup, and updates used_bytes accordingly.
the new metadata block
Stores a BigInt64 value at the specified byte offset from the start of the view.
The place in the buffer at which the value should be set.
The value to set.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be written.
Stores a BigUint64 value at the specified byte offset from the start of the view.
The place in the buffer at which the value should be set.
The value to set.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be written.
Stores an Float16 value at the specified byte offset from the start of the view.
The place in the buffer at which the value should be set.
The value to set.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be written.
Stores an Float32 value at the specified byte offset from the start of the view.
The place in the buffer at which the value should be set.
The value to set.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be written.
Stores an Float64 value at the specified byte offset from the start of the view.
The place in the buffer at which the value should be set.
The value to set.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be written.
Stores an Int16 value at the specified byte offset from the start of the view.
The place in the buffer at which the value should be set.
The value to set.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be written.
Stores an Int32 value at the specified byte offset from the start of the view.
The place in the buffer at which the value should be set.
The value to set.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be written.
Stores an Int8 value at the specified byte offset from the start of the view.
The place in the buffer at which the value should be set.
The value to set.
Stores an Uint16 value at the specified byte offset from the start of the view.
The place in the buffer at which the value should be set.
The value to set.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be written.
Stores an Uint32 value at the specified byte offset from the start of the view.
The place in the buffer at which the value should be set.
The value to set.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be written.
Stores an Uint8 value at the specified byte offset from the start of the view.
The place in the buffer at which the value should be set.
The value to set.
The super block structure for a single-buffer file system