I have a RemObjects.SDK.Type.Binary object of size 31MB and when I call the GetBuffer() function it throws exception “MemoryStream’s internal buffer cannot be accessed”.
The Binary object was created using a byte[] array so I assumed the stream consisted of one single byte array.
However, calling GetBuffer() returns “MemoryStream’s internal buffer cannot be accessed”
I assume if change my code so it uses the stream functions that the code will work however I am curious when is it safe to call GetBuffer()?
![]()
