mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-19 15:06:20 +00:00
98662e73998dbdcefa5913f10cd023ada715b197
Cover every public method on the binary pair, plus the typical packet shape (header + mixed payload) the composer/parser pipeline emits: - byte / short / int round-trips, including signed-edge values (int8 -1 from 0xFF, int16 / int32 boundaries) - big-endian wire-order assertions on writeShort / writeInt (matches Arcturus's DataInputStream) - string round-trip with length prefix + bare (includeLength=false) + UTF-8 multibyte byte count + empty-string edge - writeBytes for both number[] and ArrayBuffer payloads - readBytes slice returns an independent reader whose position is decoupled from the outer reader - remaining() decrements correctly across mixed-size reads - readFloat / readDouble decode IEEE-754 big-endian values (the writer has no float/double counterparts — buffer is built via DataView for these cases) - writer position getter + explicit setter (caller-managed reposition) - two independent writers concatenate cleanly into a single reader Suite: 127/127 (was 104/104). typecheck clean.
Nitro Renderer
nitro-renderer is a Javascript library for rendering Nitro in the browser using PixiJS
Installation
npm
npm install @nitrots/nitro-renderer
yarn
yarn add @nitrots/nitro-renderer
Languages
TypeScript
99.9%
JavaScript
0.1%