TRawByteStringStream class
TBytesStream descendent with some single-byte string methods.Declaration
TRawByteStringStream = class(TBytesStream)Inheritance
- TRawByteStringStream
- TBytesStream
- TMemoryStream
- TCustomMemoryStream
- TStream
- TObject
Description
TRawByteStringStream is a
TBytesStream descendent which
introduces some auxiliary methods that help with inserting or extracting single-byte strings from the data:
DataString
ReadString and
WriteString.
In difference with TStringStream, the data has no codepage information associated with it, so the data is always considered to use the default codepage.
See also
Methods
Create | public | Create a new instance of TRawByteStringStream. |
DataString | public | Return the stream contents as a single-byte string. |
ReadString | public | Read a string from the stream. |
WriteString | public | Write a string to the stream. |
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.
