(e: string)
| 1 | import { TextEncoder, TextDecoder } from '@zxing/text-encoding'; |
| 2 | |
| 3 | export function createCustomEncoder(e: string) { |
| 4 | return new TextEncoder(e, { NONSTANDARD_allowLegacyEncoding: true }); |
| 5 | } |
| 6 | |
| 7 | export function createCustomDecoder(e: string) { |
| 8 | return new TextDecoder(e); |
no outgoing calls
no test coverage detected