r2-shared-js
Version:
Readium 2 'shared' for NodeJS (TypeScript)
10 lines (9 loc) • 647 B
TypeScript
import { Publication } from "../models/publication";
import { Link } from "../models/publication-link";
import { IStreamAndLength } from "r2-utils-js/dist/es5/src/_utils/zip/zip";
import { ITransformer } from "./transformer";
export declare class TransformerObfAdobe implements ITransformer {
supports(_publication: Publication, link: Link): boolean;
transformStream(publication: Publication, link: Link, _url: string | undefined, stream: IStreamAndLength, _isPartialByteRangeRequest: boolean, _partialByteBegin: number, _partialByteEnd: number, _sessionInfo: string | undefined): Promise<IStreamAndLength>;
private transformBuffer;
}