@mrhiden/cstruct
Version:
For packing and unpacking bytes (C like structures) in/from Buffer based on Object/Array type for parsing.
11 lines (10 loc) • 429 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SpecialType = void 0;
var SpecialType;
(function (SpecialType) {
SpecialType[SpecialType["String"] = 1] = "String";
SpecialType[SpecialType["WString"] = 2] = "WString";
SpecialType[SpecialType["Buffer"] = 3] = "Buffer";
SpecialType[SpecialType["Json"] = 4] = "Json";
})(SpecialType || (exports.SpecialType = SpecialType = {}));