@smithy/hash-stream-node
Version:
[](https://www.npmjs.com/package/@smithy/hash-stream-node) [](https://www.npmjs.com/package/@smithy
14 lines (13 loc) • 458 B
TypeScript
/// <reference types="node" />
/// <reference types="node" />
/// <reference types="node" />
import { Checksum, Hash } from "@smithy/types";
import { Writable, WritableOptions } from "stream";
/**
* @internal
*/
export declare class HashCalculator extends Writable {
readonly hash: Checksum | Hash;
constructor(hash: Checksum | Hash, options?: WritableOptions);
_write(chunk: Buffer, encoding: string, callback: (err?: Error) => void): void;
}