This commit is contained in:
Jim Hamill
2025-02-02 06:21:25 +00:00
parent 2def0383ec
commit 2e4e6a2761
5 changed files with 94 additions and 156 deletions
+4
View File
@@ -152,4 +152,8 @@ export class Bytes {
public toBytes(): Uint8Array {
return this.bytes;
}
public invert(): Bytes {
return new Bytes(Uint8Array.from([...this.bytes].reverse()));
}
}