(value: string)
| 23 | const MAX_DIFF_LINES = 10_000; |
| 24 | |
| 25 | export function encodeText(value: string): Uint8Array { |
| 26 | return textEncoder.encode(value); |
| 27 | } |
| 28 | |
| 29 | export function decodeText(value: Uint8Array): string { |
| 30 | return textDecoder.decode(value); |