swc/bundler/tests/.cache/deno/26011cfcdccf2c97ce392f5122ffdf185e7c86c6.ts
강동윤 bbaf619f63
fix(bundler): Fix bugs (#1437)
swc_bundler:
 - [x] Fix wrapped esms. (denoland/deno#9307)
 - [x] Make test secure.
2021-03-02 17:33:03 +09:00

9 lines
189 B
TypeScript

// Loaded from https://deno.land/x/mysql/src/util.ts
export function xor(a: Uint8Array, b: Uint8Array): Uint8Array {
return a.map((byte, index) => {
return byte ^ b[index];
});
}