mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
16 lines
467 B
TypeScript
16 lines
467 B
TypeScript
// Type definitions for bitwise-xor 0.0.0
|
|
// Project: https://github.com/czzarr/node-bitwise-xor
|
|
// Definitions by: Rogier Schouten <https://github.com/rogierschouten>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
/// <reference types="node" />
|
|
|
|
|
|
/**
|
|
* Bitwise XOR between two Buffers or Strings, returns a Buffer
|
|
*/
|
|
declare function xor(b1: Buffer, b2: Buffer): Buffer;
|
|
declare function xor(s1: string, s2: string): Buffer;
|
|
|
|
export = xor;
|