TBytesStream = class(TMemoryStream)
class PASCALIMPLEMENTATION TBytesStream : public TMemoryStream
TBytesStream is a stream that stores its data in bytes.
Use TBytesStream to store data as bytes in a memory buffer.
Memory streams are useful as intermediary objects that can hold information as well as read it from or write it to another storage medium. They provide a useful format for comparing the contents of streams, or for manipulating data that is stored in a less accessible medium.