Icon Create Method

constructor Create(BlockSize: Integer=DEFAULT_BLOCK_SIZE)

Available In: Server Applications

Use this method to create a new instance of the TMemoryStream class using the specified block size. The block size determines the unit used for allocating/resizing the memory for the stream. For example, if the memory stream is created with a block size of 8192, then 8192 bytes of memory will be allocated for the memory stream when an initial write of an integer (4 bytes) using the TStream WriteInt32 method.
Image