@hazae41/binary
Advanced tools
Comparing version 1.1.8 to 1.1.9
@@ -90,3 +90,3 @@ declare class Binary<T extends ArrayBufferView = ArrayBufferView> { | ||
*/ | ||
getUint16(): number; | ||
getUint16(littleEndian?: boolean): number; | ||
/** | ||
@@ -96,3 +96,3 @@ * Read a 16-bits unsigned number | ||
*/ | ||
readUint16(): number; | ||
readUint16(littleEndian?: boolean): number; | ||
/** | ||
@@ -102,3 +102,3 @@ * Set a 16-bits unsigned number | ||
*/ | ||
setUint16(x: number): void; | ||
setUint16(x: number, littleEndian?: boolean): void; | ||
/** | ||
@@ -108,3 +108,3 @@ * Write a 16-bits unsigned number | ||
*/ | ||
writeUint16(x: number): void; | ||
writeUint16(x: number, littleEndian?: boolean): void; | ||
/** | ||
@@ -114,3 +114,3 @@ * Get a 24-bits unsigned number | ||
*/ | ||
getUint24(): number; | ||
getUint24(littleEndian?: boolean): number; | ||
/** | ||
@@ -120,3 +120,3 @@ * Read a 24-bits unsigned number | ||
*/ | ||
readUint24(): number; | ||
readUint24(littleEndian?: boolean): number; | ||
/** | ||
@@ -126,3 +126,3 @@ * Set a 24-bits unsigned number | ||
*/ | ||
setUint24(x: number): void; | ||
setUint24(x: number, littleEndian?: boolean): void; | ||
/** | ||
@@ -132,3 +132,3 @@ * Write a 24-bits unsigned number | ||
*/ | ||
writeUint24(x: number): void; | ||
writeUint24(x: number, littleEndian?: boolean): void; | ||
/** | ||
@@ -138,3 +138,3 @@ * Get a 32-bits unsigned number | ||
*/ | ||
getUint32(): number; | ||
getUint32(littleEndian?: boolean): number; | ||
/** | ||
@@ -144,3 +144,3 @@ * Read a 32-bits unsigned number | ||
*/ | ||
readUint32(): number; | ||
readUint32(littleEndian?: boolean): number; | ||
/** | ||
@@ -150,3 +150,3 @@ * Set a 32-bits unsigned number | ||
*/ | ||
setUint32(x: number): void; | ||
setUint32(x: number, littleEndian?: boolean): void; | ||
/** | ||
@@ -156,3 +156,3 @@ * Write a 32-bits unsigned number | ||
*/ | ||
writeUint32(x: number): void; | ||
writeUint32(x: number, littleEndian?: boolean): void; | ||
/** | ||
@@ -162,3 +162,3 @@ * Get a 64-bits unsigned number | ||
*/ | ||
getUint64(): bigint; | ||
getUint64(littleEndian?: boolean): bigint; | ||
/** | ||
@@ -168,3 +168,3 @@ * Read a 64-bits unsigned number | ||
*/ | ||
readUint64(): bigint; | ||
readUint64(littleEndian?: boolean): bigint; | ||
/** | ||
@@ -174,3 +174,3 @@ * Set a 64-bits unsigned number | ||
*/ | ||
setUint64(x: bigint): void; | ||
setUint64(x: bigint, littleEndian?: boolean): void; | ||
/** | ||
@@ -180,3 +180,3 @@ * Write a 64-bits unsigned number | ||
*/ | ||
writeUint64(x: bigint): void; | ||
writeUint64(x: bigint, littleEndian?: boolean): void; | ||
/** | ||
@@ -183,0 +183,0 @@ * Get a fixed-length string |
{ | ||
"type": "module", | ||
"name": "@hazae41/binary", | ||
"version": "1.1.8", | ||
"version": "1.1.9", | ||
"description": "Zero-copy bytes reader and writer", | ||
@@ -6,0 +6,0 @@ "homepage": "https://github.com/hazae41/binary", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
73132
1148