UNPKG

electr0lysis

Version:

Simple framework for data serialization and interchange.

11 lines 331 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class Uint8Decoder { decode(type, view, offset, context) { const value = view.getUint8(offset); const size = 1; return { value, size }; } } exports.default = Uint8Decoder; //# sourceMappingURL=Uint8Decoder.js.map