Changeset 47 for branches/ByteArray/Devices/Storage.pas
- Timestamp:
- Oct 25, 2023, 12:33:07 AM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ByteArray/Devices/Storage.pas
r45 r47 17 17 FFile: TFileStream; 18 18 Position: Integer; 19 function Read(Address: TBigInt; Size: Byte): TBigInt;20 procedure Write(Address: TBigInt; Size: Byte; Value: TBigInt);19 function Read(Address: TBigInt; Size: TBigIntSize): TBigInt; 20 procedure Write(Address: TBigInt; Size: TBigIntSize; Value: TBigInt); 21 21 function GetAddressCount: Integer; override; 22 22 procedure SetChannel(Channel: TChannel); override; … … 42 42 end; 43 43 44 function TStorage.Read(Address: TBigInt; Size: Byte): TBigInt;44 function TStorage.Read(Address: TBigInt; Size: TBigIntSize): TBigInt; 45 45 var 46 46 Buffer: array of Byte; … … 59 59 end; 60 60 61 procedure TStorage.Write(Address: TBigInt; Size: Byte; Value: TBigInt);61 procedure TStorage.Write(Address: TBigInt; Size: TBigIntSize; Value: TBigInt); 62 62 var 63 63 Buffer: array of Byte;
Note:
See TracChangeset
for help on using the changeset viewer.