Skip to content

mizady/System.IO.Streams

 
 

Repository files navigation

Quality Gate Status Reliability Rating NuGet #yourfirstpr Discord

nanoFramework logo


Welcome to the .NET nanoFramework System.IO.Streams Library repository

Build status

Component Build Status NuGet Package
System.IO.Streams Build Status NuGet

Usage examples

Using a MemoryStream

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));

Feedback and documentation

For documentation, providing feedback, issues and finding out how to contribute please refer to the Home repo.

Join our Discord community here.

Credits

The list of contributors to this project can be found at CONTRIBUTORS.

License

The nanoFramework Class Libraries are licensed under the MIT license.

Code of Conduct

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.

.NET Foundation

This project is supported by the .NET Foundation.

About

📦 System.IO.Streams library for .NET nanoFramework.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%