0.5.3 • Published 6 months ago

@types/marshal v0.5.3

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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.

0.5.3

6 months ago

0.5.2

7 months ago

0.5.1

3 years ago

0.5.0

3 years ago