Note
This page has been updated for jDataView 3
The byteOffset
parameter for getXXX
methods is now optional. If you omit it, it will read right after the latest read offset, just like you're operating on a data stream, not a blob. You can manage the internal pointer used for that with these functions.
// Set the current byte pointer position view.seek(byteOffset: number): number; // Get the current byte pointer position view.tell(): number; // Get the current bit offset. Mainly used when working with arbitrary-size integers view.tellBit(): number; // Aligns the pointer (clearing any bitOffset). Can also move the pointer view.alignBy(byteCount?: number): number; // Move the current pointer position forward view.skip(byteLength: number): number; // Returns a new `jDataView` instance between `start` and `end`, optionally duplicating all the contained data in memory view.slice(start: number, end?: number, forceCopy?: boolean): jDataView;
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4