Ignore:
Timestamp:
Oct 25, 2023, 12:33:07 AM (7 months ago)
Author:
chronos
Message:
  • Added: Common package.
  • Modified: Improved BigInt class.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ByteArray/Devices/Storage.pas

    r45 r47  
    1717    FFile: TFileStream;
    1818    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);
    2121    function GetAddressCount: Integer; override;
    2222    procedure SetChannel(Channel: TChannel); override;
     
    4242end;
    4343
    44 function TStorage.Read(Address: TBigInt; Size: Byte): TBigInt;
     44function TStorage.Read(Address: TBigInt; Size: TBigIntSize): TBigInt;
    4545var
    4646  Buffer: array of Byte;
     
    5959end;
    6060
    61 procedure TStorage.Write(Address: TBigInt; Size: Byte; Value: TBigInt);
     61procedure TStorage.Write(Address: TBigInt; Size: TBigIntSize; Value: TBigInt);
    6262var
    6363  Buffer: array of Byte;
Note: See TracChangeset for help on using the changeset viewer.