npm run format:write

This commit is contained in:
2024-12-07 11:19:20 -06:00
parent 03df8fec56
commit 10403a49ca
4 changed files with 44 additions and 34 deletions
+7 -7
View File
@@ -1,7 +1,7 @@
export function toHex(bytes: Uint8Array): string{
let hex = '';
bytes.forEach((byte)=>{
hex += byte.toString(16).padStart(2,'0')
})
return hex;
}
export function toHex(bytes: Uint8Array): string {
let hex = '';
bytes.forEach((byte) => {
hex += byte.toString(16).padStart(2, '0');
});
return hex;
}