| Constructors: NewMemoryStream |
Returns a new memoryStream object which uses a supplied byte array.
Public Function NewMemoryStream( ByRef Buffer ( ) As Byte, Optional ByVal Index As Variant, Optional ByVal Count As Variant, Optional ByVal Writable As Boolean = True ) As MemoryStream
Default: True
By using a user supplied buffer, the user can decide how much of the buffer is actually accessable. The buffer cannot be increased in size. The stream does not release the byte Buffer. The user still must maintain a reference to the array and keep it alive for the duration of the MemoryStreams life.
Project VBCorLib Overview Class Constructors Overview Constructors Properties Constructors Methods NewMemoryMappedFile NewNotSupportedException