(value: string)
| 1 | const BASE64_CHUNK_SIZE = 0x80_00; |
| 2 | |
| 3 | export function utf8BytesFromString(value: string): Uint8Array { |
| 4 | return new TextEncoder().encode(value); |
| 5 | } |
| 6 | |
| 7 | export function utf8ByteLength(value: string): number { |
| 8 | return utf8BytesFromString(value).length; |
no outgoing calls
no test coverage detected