MemoryStreamToArray Method |
Writes the stream contents to a byte array, regardless of the Position property.
Namespace: System.IOAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public virtual byte[] ToArray()
Return Value
Type:
ByteA new byte array.
See Also