@types/node-int64

  • Version 0.4.32
  • Published
  • 4.93 kB
  • 1 dependency
  • MIT license

Install

npm i @types/node-int64
yarn add @types/node-int64
pnpm add @types/node-int64

Overview

TypeScript definitions for node-int64

Index

Classes

class Int64

class Int64 {}

    constructor

    constructor(buffer: Buffer, offset?: number);

      constructor

      constructor(array: Uint8Array, offset?: number);

        constructor

        constructor(str: string);

          constructor

          constructor(num: number);

            constructor

            constructor(hi: number, lo: number);

              property buffer

              buffer: Buffer;

                property MAX_INT

                static MAX_INT: number;

                  property MIN_INT

                  static MIN_INT: number;

                    property offset

                    offset: number;

                      method compare

                      compare: (other: Int64) => number;

                        method copy

                        copy: (targetBuffer: Buffer, targetOffset?: number) => void;

                          method equals

                          equals: (other: Int64) => boolean;

                            method inspect

                            inspect: () => string;

                              method setValue

                              setValue: {
                              (str: string): void;
                              (num: number): void;
                              (hi: number, lo: number): void;
                              };

                                method toBuffer

                                toBuffer: (rawBuffer?: boolean) => Buffer;

                                  method toNumber

                                  toNumber: (allowImprecise?: boolean) => number;

                                    method toOctetString

                                    toOctetString: (separator?: string) => string;

                                      method toString

                                      toString: (radix?: number) => string;

                                        method valueOf

                                        valueOf: () => number;

                                          Package Files (1)

                                          Dependencies (1)

                                          Dev Dependencies (0)

                                          No dev dependencies.

                                          Peer Dependencies (0)

                                          No peer dependencies.

                                          Badge

                                          To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                          You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/node-int64.

                                          • Markdown
                                            [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/node-int64)
                                          • HTML
                                            <a href="https://www.jsdocs.io/package/@types/node-int64"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>