UnmanagedMemoryStream()

UnmanagedMemoryStream::UnmanagedMemoryStream(uint8_t *, int64_t) constructor

Constructs a new instance of UnmanagedMemoryStream.

System::IO::UnmanagedMemoryStream::UnmanagedMemoryStream(uint8_t *pointer, int64_t length)

Arguments

ParameterTypeDescription
pointeruint8_t *A pointer to unmanaged buffer
lengthint64_tThe size of unmanaged buffer in bytes

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)

Arguments

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