projects
/
ldk-java
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[TS] Swap BigInt (the class/constructor) for bigint (the primitive)
[ldk-java]
/
ts
/
InternalUtils.mts
1
export function check_arr_len(arr: Uint8Array, len: number): Uint8Array {
2
if (arr.length != len) { throw new Error("Expected array of length " + len + "got " + arr.length); }
3
return arr;
4
}