System::IO::UnmanagedMemoryStream::UnmanagedMemoryStream constructor

UnmanagedMemoryStream::UnmanagedMemoryStream(uint8_t *, int64_t) constructor

Constructs a new instance of UnmanagedMemoryStream.

System::IO::UnmanagedMemoryStream::UnmanagedMemoryStream(uint8_t *pointer, int64_t length)
ParameterTypeDescription
pointeruint8_t *A pointer to unmanaged buffer
lengthint64_tThe size of unmanaged buffer in bytes

See Also

UnmanagedMemoryStream::UnmanagedMemoryStream(uint8_t *, int64_t, int64_t, FileAccess) constructor

Constructs a new instance of UnmanagedMemoryStream.

System::IO::UnmanagedMemoryStream::UnmanagedMemoryStream(uint8_t *pointer, int64_t length, int64_t capacity, FileAccess access)
ParameterTypeDescription
pointeruint8_t *A pointer to unmanaged buffer
lengthint64_tThe size of unmanaged buffer in bytes
capacityint64_tThe total amount of memory assigned to the stream
accessFileAccessSpecifies if the stream should be read-only, write-onle or both

See Also