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