@hazae41/binary
Advanced tools
Comparing version 1.2.9 to 1.2.10
@@ -34,2 +34,6 @@ declare class Cursor<T extends ArrayBufferView = ArrayBufferView> { | ||
/** | ||
* @returns total number of bytes | ||
*/ | ||
get length(): number; | ||
/** | ||
* @returns number of remaining bytes | ||
@@ -246,20 +250,15 @@ */ | ||
/** | ||
* @deprecated | ||
* @param offset | ||
* @returns | ||
* Fill length bytes with value after offset | ||
* @param value value to fill | ||
* @param length length to fill | ||
*/ | ||
reread(offset: number): Uint8Array; | ||
fill(value: number, length: number): void; | ||
/** | ||
* @deprecated | ||
* Split into chunks of maximum length bytes | ||
* @param length | ||
* @returns | ||
*/ | ||
split(length: number): Buffer[]; | ||
/** | ||
* @deprecated | ||
* @param end | ||
*/ | ||
fill(end?: number): void; | ||
split(length: number): Generator<Uint8Array, void, unknown>; | ||
} | ||
export { Cursor }; |
{ | ||
"type": "module", | ||
"name": "@hazae41/binary", | ||
"version": "1.2.9", | ||
"version": "1.2.10", | ||
"description": "Zero-copy binary data types", | ||
@@ -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
110727
1758