Summary

A result of SpeedTest.MemoryAlloc - to make it easy to use this instead of AllocHGlobal

Properties

Length The total size of the data
Position The current read or write position
ReadRemaining
Writable

Methods

Compress
Decompress
Dispose
EnsureCanRead
EnsureCanWrite
Read
ReadArray
ReadByteStream Read a block of data
ReadObject
ToArray Get the data as an array of bytes
ToSpan Get the data as a span
TryRead Try to read variable, return false if not enough data
Write
WriteArray

Static Methods

Create Create a writable byte stream
CreateReader
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.