(bytes: Uint8Array)
| 55 | } |
| 56 | |
| 57 | const byteSplits = (bytes: Uint8Array): Array<Array<Uint8Array>> => { |
| 58 | const out: Array<Array<Uint8Array>> = [Array.from(bytes, (byte) => Uint8Array.of(byte))] |
| 59 | for (let i = 0; i <= bytes.length; i++) out.push([bytes.subarray(0, i), bytes.subarray(i)]) |
| 60 | return out |
| 61 | } |
| 62 | |
| 63 | describe("Xml", () => { |
| 64 | it("identifies Xml errors", () => { |
no test coverage detected