Fixes
This commit is contained in:
@@ -152,4 +152,8 @@ export class Bytes {
|
||||
public toBytes(): Uint8Array {
|
||||
return this.bytes;
|
||||
}
|
||||
|
||||
public invert(): Bytes {
|
||||
return new Bytes(Uint8Array.from([...this.bytes].reverse()));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user