UNPKG

@mrhiden/cstruct

Version:

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

7 lines (6 loc) 225 B
/// <reference types="node" /> import { Model } from "./types"; import { Write } from "./write"; export declare class WriteLE<T> extends Write<T> { constructor(model: Model, struct: T, buffer: Buffer, offset?: number); }