0.5.3 • Published 6 months ago
@types/marshal v0.5.3
Installation
npm install --save @types/marshal
Summary
This package contains type definitions for marshal (https://github.com/clayzermk1/node-marshal).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/marshal.
index.d.ts
// Type definitions for marshal 0.5
// Project: https://github.com/clayzermk1/node-marshal
// Definitions by: Jamie Magee <https://github.com/JamieMagee>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
declare class Marshal {
parsed?: unknown;
constructor(buffer: Buffer);
constructor(buffer: string, encoding?: BufferEncoding);
load(buffer: Buffer): this;
load(buffer: string, encoding?: BufferEncoding): this;
toString(encoding?: BufferEncoding): string;
toJSON(): unknown;
}
export = Marshal;
Additional Details
- Last updated: Mon, 25 Oct 2021 23:31:44 GMT
- Dependencies: @types/node
- Global values: none
Credits
These definitions were written by Jamie Magee.