UNPKG

@mrhiden/cstruct

Version:

For packing and unpacking bytes (C like structures) in/from Buffer based on Object/Array type for parsing.

14 lines (13 loc) 411 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MakeBE = void 0; const write_buffer_be_1 = require("./write-buffer-be"); const make_1 = require("./make"); class MakeBE extends make_1.Make { constructor(model, struct) { super(); this._writer = new write_buffer_be_1.WriteBufferBE(); this.recursion(model, struct); } } exports.MakeBE = MakeBE;