Ignore:
Timestamp:
Feb 8, 2012, 9:47:54 AM (13 years ago)
Author:
chronos
Message:
  • Added: TGMemoryStream implementation.
  • Added: Additional methods to TGList.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Generics/NativeGenerics/Demo/UMainForm.pas

    r321 r322  
    77uses
    88  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
    9   ComCtrls, GenericList, GenericDictionary, GenericQueue,
     9  ComCtrls, GenericList, GenericDictionary, GenericQueue, GenericStream,
    1010  DateUtils, SpecializedList;
    1111
     
    162162var
    163163  Queue: TGQueue<Integer>;
    164   I: Integer;
    165164begin
    166165  ListViewOutput.Clear;
     
    183182procedure TMainForm.ButtonStreamByteClick(Sender: TObject);
    184183var
    185   Stream: TMemoryStreamByte;
     184  Stream: TGMemoryStream<Byte>;
    186185  I: Integer;
    187186  ByteArray: array of Byte;
     
    190189  ListViewOutput.Clear;
    191190  LabelTestName.Caption := 'TStreamByte test';
    192   Stream := TMemoryStreamByte.Create;
     191  Stream := TGMemoryStream<Byte>.Create;
    193192  with Stream do try
    194193    WriteOutput('Size := ', IntToStr(Stream.Size));
Note: See TracChangeset for help on using the changeset viewer.