'Declaration Public Function New( _ ByVal userBuffer As IntPtr, _ ByVal sizeInBytes As Long, _ ByVal canRead As Boolean, _ ByVal canWrite As Boolean _ )
public DataStream( IntPtr userBuffer, long sizeInBytes, bool canRead, bool canWrite )
Parameters
- userBuffer
- A pointer to the buffer to be used as a backing store.
- sizeInBytes
- The size of the buffer provided, in bytes.
- canRead
true
if reading from the buffer should be allowed; otherwise,false
.- canWrite
true
if writing to the buffer should be allowed; otherwise,false
.