/** * @fileoverview Provides functions for checksum calculation and verification. * @author Jacob V. B. Haap * @license MIT */ /** * Calculate a checksum for a bitstream string. * @example * const bits: string = "010000100110111101100101..."; * const csum = calcCsum(bits); // 0010 */ export declare function calcCsum(bits: string): string; /** * Verify a bitstream string's appended checksum. * @example * const bits: string = "010000100110111101100101...0010"; * const verified = verifyCsum(bits); // true */ export declare function verifyCsum(bits: string): boolean; //# sourceMappingURL=checksum.d.ts.map