UNPKG

compound-binary-file-js

Version:

This is an implementation of [Compound Binary File v.3](https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-cfb/53989ce4-7b05-4f8d-829b-d08d6148375b) \ Allows reading existing files, creation of the/write operation

18 lines (17 loc) 576 B
import { CFDataview } from "./СFDataview"; /** * @internal */ export declare class VariableSizeChunkedDataView implements CFDataview { private readonly viewMap; private readonly size; constructor(views: CFDataview[]); writeAt(position: number, bytes: number[]): CFDataview; getSize(): number; getData(): number[]; subView(start: number, end?: number): CFDataview; allocate(length: number): CFDataview; fill(filler: number[]): CFDataview; readAt(position: number, length: number): number[]; isEmpty(): boolean; }