Component | Build Status | NuGet Package |
---|---|---|
System.IO.Streams |
Write data using memory as a backing store.
using MemoryStream memStream = new MemoryStream(100);
string test = "nanoFramework Test";
memStream.Write(Encoding.UTF8.GetBytes(test), 0, test.Length);
memStream.Flush();
Reset stream position.
memStream.Seek(0, SeekOrigin.Begin);
Read from from stream.
byte[] readbuff = new byte[20];
memStream.Read(readbuff, 0, readbuff.Length);
string testResult = new string(Encoding.UTF8.GetChars(readbuff));
For documentation, providing feedback, issues and finding out how to contribute please refer to the Home repo.
Join our Discord community here.
The list of contributors to this project can be found at CONTRIBUTORS.
The nanoFramework Class Libraries are licensed under the MIT license.
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behaviour in our community. For more information see the .NET Foundation Code of Conduct.
This project is supported by the .NET Foundation.