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

14 lines (13 loc) 390 B
/** * @internal */ export interface 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; isEmpty(): boolean; readAt(position: number, length: number): number[]; }