nxkit
Version:
This is a collection of tools, independent of any other libraries
15 lines (14 loc) • 516 B
TypeScript
import { Bytes } from '../buffer';
declare function bin2binl(bin: Bytes): number[];
declare function binl2bin(binl: number[]): import("../buffer").InterfaceBuffer;
declare function bin2str(bin: Bytes): string;
declare const _default: {
chrsz: number;
str2bin: (str: string) => number[];
bin2binl: typeof bin2binl;
binl2bin: typeof binl2bin;
bin2str: typeof bin2str;
bin2hex: (bytes: ArrayLike<number>) => string;
bin2b64: (bytes: ArrayLike<number>) => string;
};
export default _default;