Memory Stream « File Stream « C# / C Sharp






1.Create a MemoryStream
2.MemoryStream.Write
3.Use MemoryStream and BinaryWriter to convert decimal to byte arrayUse MemoryStream and BinaryWriter to convert decimal to byte array
4.Use MemoryStream and BinaryReader to convert Byte array to decimalUse MemoryStream and BinaryReader to convert Byte array to decimal
5.MemoryStream.ToArray, MemoryStream.ReadDecimal
6.Deep Copy with MemoryStream
7.Memory-Mapped Files
8.Deep clone with MemoryStream
9.Using MemoryStream to Serialize and Desirialize








10.Convert a string into an array of bytes