mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-10-28 16:28:11 +01:00
f6154dc0af
Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com> Co-authored-by: Satsuki Yanagi <17376330+u1-liquid@users.noreply.github.com>
5 lines
144 B
TypeScript
5 lines
144 B
TypeScript
export function hexifyAB(buffer) {
|
|
return Array.from(new Uint8Array(buffer))
|
|
.map(item => item.toString(16).padStart(2, '0'))
|
|
.join('');
|
|
}
|