(b: ArrayBuffer)
| 99 | * @returns |
| 100 | */ |
| 101 | export const arrayBufferToBuffer = (b: ArrayBuffer) => { |
| 102 | return Buffer.from(b); |
| 103 | }; |
| 104 | |
| 105 | export const arrayBufferToBase64 = (b: ArrayBuffer) => { |
| 106 | return arrayBufferToBuffer(b).toString("base64"); |
no outgoing calls
no test coverage detected