apple2js/js/formats/prodos/base_file.ts
2022-07-23 12:00:38 -07:00

15 lines
310 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;
}