mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-17 17:48:06 +00:00
14 lines
390 B
TypeScript
14 lines
390 B
TypeScript
import type { CRCBufferSource } from '.';
|
|
export type { CRCBufferSource };
|
|
|
|
export const model: 'crc-16';
|
|
export function signed(buf: CRCBufferSource, previous?: number): number;
|
|
|
|
declare function crc16(buf: CRCBufferSource, previous?: number): number;
|
|
declare namespace crc16 {
|
|
export { model, signed, crc16 as unsigned };
|
|
export type { CRCBufferSource };
|
|
}
|
|
|
|
export default crc16;
|