byte offset
How far into a block of memory or a file something starts, counted in bytes from the beginning.
In more detail
Offset 0 is the very first byte. Binary formats describe each field by its offset and length.
Related terms
- DataView — A JavaScript object for reading and writing numbers of different sizes at any position in an ArrayBuffer, with the byte order chosen on every call.
- positional read and write — Reading or writing a file at an explicit byte offset instead of wherever the previous operation stopped.
Taught in
- Buffer Fundamentals: Slab Allocator & V8 Memory — Node.js Internals & Backend Services
- Binary Data Manipulation: TypedArrays & Endianness — Node.js Internals & Backend Services
- Asynchronous File I/O: node:fs/promises & Handles — Node.js Internals & Backend Services