devicescript
devicescript copied to clipboard
support for read* on buffer
Same APIs as node.js. We already support Buffer.getAt, Buffer.setAt that maps internally to the C runtime serialization library; but it needs a friendlier layer.
sources: https://github.com/microsoft/devicescript/blob/main/packages/core/src/buffer.ts#L35