@hazae41/binary
Advanced tools
Comparing version 1.3.3 to 1.3.4
@@ -42,2 +42,9 @@ import { Cursor } from '@hazae41/cursor'; | ||
* Call readOrThrow() on the given bytes and check for underflow | ||
* @param readable | ||
* @param bytes | ||
* @returns | ||
*/ | ||
function readFromBytesOrNull<T extends Infer<T>>(readable: T, bytes: Uint8Array): Output<T> | undefined; | ||
/** | ||
* Call readOrThrow() on the given bytes and check for underflow | ||
* @throws whatever readOrThrow() throws | ||
@@ -44,0 +51,0 @@ * @throws ReadUnderflowError on underflow |
{ | ||
"type": "module", | ||
"name": "@hazae41/binary", | ||
"version": "1.3.3", | ||
"version": "1.3.4", | ||
"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
80273
1121