apple2js/js/formats/prodos/base_file.ts
Will Scullin 1e79d9d59d
Prettier (#203)
* Enabled prettier

* Update lint, fix issues

* Restore some array formatting
2023-11-24 06:45:55 -08:00

15 lines
309 B
TypeScript

import { word } from 'js/types';
import { ProDOSVolume } from '.';
export interface ProDOSFileData {
data: Uint8Array;
address: word;
}
export abstract class ProDOSFile {
constructor(public volume: ProDOSVolume) {}
abstract read(): Uint8Array;
abstract write(data: Uint8Array): void;
}