InternalReadonly[toReadonlybufferThe ArrayBuffer instance referenced by the array.
ReadonlybyteThe length in bytes of the array.
ReadonlybyteThe offset in bytes of the array.
The initial value of Object.prototype.constructor is the standard built-in Object constructor.
Static ReadonlyalignmentStatic Optional ReadonlyarrayStatic ReadonlyisStatic ReadonlynameStatic ReadonlysizeProtected__For future use
For future use
For future use
Protected Internal__Padding up to 128 bytes. This ensures there is enough room for expansion without breaking the ABI.
Time of last access, since epoch
Extended attributes
Time of file creation, since epoch
The time the inode was changed.
This is automatically updated whenever changed are made using update().
The id of the group that owns the file
Inode number
Unix-style file mode (e.g. 0o644) that includes the item type
Time of last modification, since epoch
Number of hard links
Size of the item in bytes. For directories/symlinks, this is normally the size of the struct that represents the item.
The id of the user that owns the file
The "version" of the inode/data. Unrelated to the inode 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.
OptionallittleEndian: 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.
OptionallittleEndian: 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.
OptionallittleEndian: 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.
OptionallittleEndian: 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.
OptionallittleEndian: 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.
OptionallittleEndian: 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.
OptionallittleEndian: 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.
OptionallittleEndian: 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.
OptionallittleEndian: 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.
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.
OptionallittleEndian: 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.
OptionallittleEndian: 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.
OptionallittleEndian: 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.
OptionallittleEndian: 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.
OptionallittleEndian: 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.
OptionallittleEndian: 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.
OptionallittleEndian: 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.
OptionallittleEndian: 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.
OptionallittleEndian: 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.
Handy function that converts the Inode to a Node Stats object.
Returns a string representation of an object.
Updates the Inode using information from the stats object. Used by file systems at sync time, e.g.:
Optionaldata: Partial<Readonly<InodeLike<number>>>whether any changes have occurred.
StaticgetStaticset
Generic inode definition that can easily be serialized.