https://github.com/dexrnzacattack/binaryio
BinaryIO for Node and Web environments, allows for reading data like a DataView but with built in position tracking.
https://github.com/dexrnzacattack/binaryio
Last synced: 11 months ago
JSON representation
BinaryIO for Node and Web environments, allows for reading data like a DataView but with built in position tracking.
- Host: GitHub
- URL: https://github.com/dexrnzacattack/binaryio
- Owner: DexrnZacAttack
- License: mit
- Created: 2024-07-24T09:02:25.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-08T23:36:56.000Z (over 1 year ago)
- Last Synced: 2024-09-09T00:35:32.048Z (over 1 year ago)
- Language: TypeScript
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BinaryIO
Binary reading and writing for Node and Web environments,.
- Supports endianness
- [Has more types](#types-supported)
- Built-in position tracking
- String writing
## Types supported
- `Byte` (Signed + Unsigned)
- `Short` (Signed + Unsigned)
- `Int24` (Signed + Unsigned)
- `Int/Int32` (Signed + Unsigned)
- `Int40` (Signed + Unsigned)
- `Int48` (Signed + Unsigned)
- `Int56` (Signed + Unsigned)
- `Long` (Signed + Unsigned)
- `Int128` (Signed + Unsigned)
- `Int256` (Signed + Unsigned)
- `UTF8`
- `UTF16`
- `UTF32`
- `RGB` (Includes pixel formats like RGBA, ARGB, BGR, BGRA, etc.)
### To be supported
- `MUTF`
- `GUID`