📦 System.IO.Streams library for .NET nanoFramework.
Перейти к файлу
nfbot b8abf79fcd
Update 1 NuGet dependencies
***NO_CI***
2024-11-21 00:52:24 +00:00
.github/workflows
System.IO.Streams Update 1 NuGet dependencies 2024-10-21 01:53:58 +01:00
UnitTests/MemoryStreamUnitTests Update 1 NuGet dependencies 2024-11-21 00:52:24 +00:00
assets
config
.github_changelog_generator
.gitignore
.runsettings
CHANGELOG.md
LICENSE.md
NuGet.Config
README.md
azure-pipelines.yml
nanoFramework.System.IO.Streams.nuspec
nanoFramework.System.IO.Streams.sln
template.vssettings
version.json

README.md

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.