TBytesStream class
Stream of bytes.
Declaration
TBytesStream = class(TMemoryStream)Inheritance
- TBytesStream
- TMemoryStream
- TCustomMemoryStream
- TStream
- TObject
Descends from it: TRawByteStringStream TStringStream
Description
TBytesStream is a stream that uses an array of byte (
TBytes) to keep the stream data.
it overrides the
TMemoryStream memory allocation routine to use
the array of bytes. The array of bytes is exposed through the
Bytes property.See also
- TBytes
- TMemoryStream
- Bytes
Properties
Bytes | public | The stream data as an array of bytes. |
Methods
Realloc | protected | Sets the new capacity for the memory stream. |
Create | public | Create a new instance of the stream, initializing it with an array of bytes. |
Inherited
From TMemoryStream (7)
Capacity Clear Destroy LoadFromFile LoadFromStream SetSize Write
From TCustomMemoryStream (9)
GetPosition GetSize Memory Read SaveToFile SaveToStream Seek SetPointer SizeBoundsSeek
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
