- Timestamp:
- Aug 15, 2012, 10:45:44 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Generics/TemplateGenerics/Additional/UBinarySerializer.pas
r407 r410 19 19 FEndianness: TEndianness; 20 20 SwapData: Boolean; 21 procedure SetList(const AValue: TListByte); 21 22 procedure SetEndianness(const AValue: TEndianness); 22 23 procedure ReverseByteOrder(var Buffer; Count: Integer); … … 59 60 destructor Destroy; override; 60 61 property Endianness: TEndianness read FEndianness write SetEndianness; 61 property List: TListByte read FList write FList;62 property List: TListByte read FList write SetList; 62 63 property Grow: Boolean read FGrow write FGrow; 63 64 end; … … 236 237 end; 237 238 239 procedure TBinarySerializer.SetList(const AValue: TListByte); 240 begin 241 if OwnsList then FList.Free; 242 FList := AValue; 243 end; 244 238 245 procedure TBinarySerializer.SetEndianness(const AValue: TEndianness); 239 246 begin
Note:
See TracChangeset
for help on using the changeset viewer.