@types/long
Advanced tools
Comparing version 3.0.32 to 4.0.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for long.js 3.0.2 | ||
// Type definitions for long.js 4.0.0 | ||
// Project: https://github.com/dcodeIO/long.js | ||
@@ -94,2 +94,17 @@ // Definitions by: Peter Kooijmans <https://github.com/peterkooijmans> | ||
/** | ||
* Creates a Long from its byte representation. | ||
*/ | ||
static fromBytes( bytes: number[], unsigned?: boolean, le?: boolean ): Long; | ||
/** | ||
* Creates a Long from its little endian byte representation. | ||
*/ | ||
static fromBytesLE( bytes: number[], unsigned?: boolean ): Long; | ||
/** | ||
* Creates a Long from its little endian byte representation. | ||
*/ | ||
static fromBytesBE( bytes: number[], unsigned?: boolean ): Long; | ||
/** | ||
* Tests if the specified object is a Long. | ||
@@ -335,2 +350,20 @@ */ | ||
/** | ||
* Converts this Long to its byte representation. | ||
*/ | ||
toBytes( le?: boolean ): number[]; | ||
/** | ||
* Converts this Long to its little endian byte representation. | ||
*/ | ||
toBytesLE(): number[]; | ||
/** | ||
* Converts this Long to its big endian byte representation. | ||
*/ | ||
toBytesBE(): number[]; | ||
/** | ||
* Converts this Long to signed. | ||
@@ -337,0 +370,0 @@ */ |
{ | ||
"name": "@types/long", | ||
"version": "3.0.32", | ||
"version": "4.0.0", | ||
"description": "TypeScript definitions for long.js", | ||
@@ -9,3 +9,4 @@ "license": "MIT", | ||
"name": "Peter Kooijmans", | ||
"url": "https://github.com/peterkooijmans" | ||
"url": "https://github.com/peterkooijmans", | ||
"githubUsername": "peterkooijmans" | ||
} | ||
@@ -20,4 +21,4 @@ ], | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "26c346715f4bbe747a7eddec4134408618814ef4340646fcbac955fcdb491a4c", | ||
"typesPublisherContentHash": "cc3246302180c8c161d2e2c0c3f0a419226efa475d2cd5afbe51986d60cd8287", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 21 Aug 2017 21:55:03 GMT | ||
* Last updated: Wed, 25 Apr 2018 00:38:11 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: Long |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12007
307