mirror of
https://github.com/jwetzell/acn-js.git
synced 2026-09-07 22:48:58 +00:00
npm run format:write
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user