From: Lady <redacted>
Date: Tue, 27 Jun 2023 01:07:19 +0000 (-0700)
Subject: Add buffer getters and setters to binary.js
X-Git-Tag: 0.4.0^0
X-Git-Url: https://git.ladys.computer/Pisces/commitdiff_plain/d741139aff475642fe08978d39722b298cf96802?ds=inline;hp=d741139aff475642fe08978d39722b298cf96802

Add buffer getters and setters to binary.js

These are rough equivalents to the `DataView` methods, but can be
called with any kind of array buffer or array buffer view. Internally,
they (weakly) remember a `DataView` instance for each buffer and use
that for accessing values (to ensure correct endianness behaviour).
---