![]() |
VOOZH | about |
dotnet add package Microsoft.Bcl.Memory --version 10.0.9
NuGet\Install-Package Microsoft.Bcl.Memory -Version 10.0.9
<PackageReference Include="Microsoft.Bcl.Memory" Version="10.0.9" />
<PackageVersion Include="Microsoft.Bcl.Memory" Version="10.0.9" />Directory.Packages.props
<PackageReference Include="Microsoft.Bcl.Memory" />Project file
paket add Microsoft.Bcl.Memory --version 10.0.9
#r "nuget: Microsoft.Bcl.Memory, 10.0.9"
#:package Microsoft.Bcl.Memory@10.0.9
#addin nuget:?package=Microsoft.Bcl.Memory&version=10.0.9Install as a Cake Addin
#tool nuget:?package=Microsoft.Bcl.Memory&version=10.0.9Install as a Cake Tool
Provides Index and Range types to simplify slicing operations on collections for .NET Framework and .NET Standard 2.0.
Provides Base64Url for encoding data in a URL-safe manner on older .NET platforms.
Provides Utf8 for converting chunked data between UTF-8 and UTF-16 encodings on .NET Framework and .NET Standard 2.0.
This library is not necessary nor recommended when targeting versions of .NET that include the relevant support.
Index and Range types on .NET Framework and .NET Standard 2.0.Base64Url encoding, decoding, and validation for URL-safe data processing on older .NET platforms.Utf8 encoding, decoding, and validation for chunked data between UTF-8 and UTF-16 on .NET Framework and .NET Standard 2.0.The Index and Range types simplify working with slices of arrays, strings, or other collections.
string[] words = ["The", "quick", "brown", "fox", "jumps", "over", "the", "lazy", "dog"];
// Use Index to reference the last element
Console.WriteLine(words[^1]);
// Output: "dog"
// Use Range to reference a slice
string[] phrase = words[1..4];
Console.WriteLine(string.Join(" ", phrase));
// Output: "quick brown fox"
Base64Url encoding is a URL-safe version of Base64, commonly used in web applications, such as JWT tokens.
using System.Buffers.Text;
using System.Text;
// Original data
byte[] data = Encoding.UTF8.GetBytes("Hello World!");
Span<byte> encoded = new byte[Base64Url.GetEncodedLength(data.Length)];
Base64Url.EncodeToUtf8(data, encoded, out int _, out int bytesWritten);
string encodedString = Base64Url.EncodeToString(data);
Console.WriteLine($"Encoded: {encodedString}");
// Encoded: SGVsbG8gV29ybGQh
Span<byte> decoded = new byte[data.Length];
Base64Url.DecodeFromUtf8(encoded[..bytesWritten], decoded, out _, out bytesWritten);
string decodedString = Encoding.UTF8.GetString(decoded[..bytesWritten]);
Console.WriteLine($"Decoded: {decodedString}");
// Decoded: Hello World!
The main types provided by this library are:
System.IndexSystem.RangeSystem.Buffers.Text.Base64UrlSystem.Text.Unicode.Utf8API documentation
Microsoft.Bcl.Memory is released as open source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 is compatible. |
| .NET Framework | net461 net461 was computed. net462 net462 is compatible. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on Microsoft.Bcl.Memory:
| Package | Downloads |
|---|---|
|
Microsoft.Azure.Functions.Worker.Core
This library provides the core functionality to build an Azure Functions .NET Worker, adding support for the isolated, out-of-process execution model. |
|
|
Aspose.PDF
Aspose.PDF for .NET is a PDF document creation and manipulation component that enables your .NET applications to read, write and manipulate existing PDF documents without using Adobe Acrobat. It also allows you to create forms and manage form fields embedded in a PDF document. This component is written in managed C# and it allows developers to add PDF creation and manipulation functionality to their Microsoft .NET applications (WinForms, ASP.NET and .NET Compact Framework). Aspose.PDF for .NET is affordable and offers an incredible wealth of features including PDF compression options; table creation and manipulation; support for graph objects; extensive hyperlink functionality; extended security controls; custom font handling; integration with data sources; add or remove bookmarks; create table of contents; add, update, delete attachments and annotations; import or export PDF form data; add, replace or remove text and images; split, concatenate, extract or insert pages; transform pages to image; print PDF documents and much more. |
|
|
Microsoft.Extensions.ServiceDiscovery.Abstractions
Provides abstractions for service discovery. Interfaces defined in this package are implemented in Microsoft.Extensions.ServiceDiscovery and other service discovery packages. |
|
|
Duende.IdentityModel
OpenID Connect & OAuth 2.0 client library |
|
|
Microsoft.Azure.Functions.Worker.Extensions.DurableTask
Durable Task extension for .NET isolated functions |
Showing the top 20 popular GitHub repositories that depend on Microsoft.Bcl.Memory:
| Repository | Stars |
|---|---|
|
microsoft/semantic-kernel
Integrate cutting-edge LLM technology quickly and easily into your apps
|
|
|
dotnet/machinelearning
ML.NET is an open source and cross-platform machine learning framework for .NET.
|
|
|
AssetRipper/AssetRipper
GUI application to analyze game files
|
|
|
microsoft/aspire
Aspire is the tool for code-first, extensible, observable dev and deploy.
|
|
|
Cysharp/ZLinq
Zero allocation LINQ with LINQ to Span, LINQ to SIMD, and LINQ to Tree (FileSystem, JSON, GameObject, etc.) for all .NET platforms and Unity, Godot.
|
|
|
dotnet/Open-XML-SDK
Open XML SDK by Microsoft
|
|
|
modelcontextprotocol/csharp-sdk
The official C# SDK for Model Context Protocol servers and clients. Maintained in collaboration with Microsoft.
|
|
|
SciSharp/LLamaSharp
A C#/.NET library to run LLM (🦙LLaMA/LLaVA) on your local device efficiently.
|
|
|
dotnet/command-line-api
Command line parsing, invocation, and rendering of terminal output.
|
|
|
mini-software/MiniExcel
Lightweight, fast and simple cross-platform .NET processing tool for importing and exporting spreadsheet documents
|
|
|
dotnet/skills
Repository for skills to assist AI coding agents with .NET and C#
|
|
|
linq2db/linq2db
Linq to database provider.
|
|
|
dotnet/extensions
This repository contains a suite of libraries that provide facilities commonly needed when creating production-ready applications.
|
|
|
apache/lucenenet
Apache Lucene.NET is an open-source full-text search library written in C#, ported from the Apache Lucene project.
|
|
|
NuGet/NuGetGallery
NuGet Gallery is a package repository that powers https://www.nuget.org. Use this repo for reporting NuGet.org issues.
|
|
|
passwordless-lib/fido2-net-lib
Passkeys, FIDO2 and WebAuhtn .NET library.
|
|
|
json-everything/json-everything
System.Text.Json-based support for all of your JSON needs.
|
|
|
visualHFT/VisualHFT
VisualHFT is a WPF/C# desktop GUI that shows market microstructure in real time. You can track advanced limit‑order‑book dynamics and execution quality, then use its modular plugins to shape the analysis to your workflow.
|
|
| meziantou/Meziantou.Framework | |
|
Azure/azure-functions-durable-extension
Durable Task Framework extension for Azure Functions
|
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 11.0.0-preview.5.26302.115 | 178 | 6/9/2026 | |
| 11.0.0-preview.4.26230.115 | 5,309 | 5/12/2026 | |
| 11.0.0-preview.3.26207.106 | 811 | 4/14/2026 | |
| 11.0.0-preview.2.26159.112 | 853 | 3/10/2026 | |
| 11.0.0-preview.1.26104.118 | 508 | 2/10/2026 | |
| 10.0.9 | 39,933 | 6/9/2026 | |
| 10.0.8 | 260,125 | 5/12/2026 | |
| 10.0.7 | 350,879 | 4/21/2026 | |
| 10.0.6 | 192,076 | 4/14/2026 | |
| 10.0.5 | 1,381,230 | 3/12/2026 | |
| 10.0.4 | 1,620,625 | 3/10/2026 | |
| 10.0.3 | 120,322 | 2/10/2026 | 10.0.3 has at least one vulnerability with high severity. |
| 10.0.2 | 301,138 | 1/13/2026 | 10.0.2 has at least one vulnerability with high severity. |
| 10.0.1 | 202,850 | 12/9/2025 | 10.0.1 has at least one vulnerability with high severity. |
| 9.0.17 | 3,377 | 6/9/2026 | |
| 9.0.16 | 51,478 | 5/12/2026 | |
| 9.0.15 | 99,156 | 4/14/2026 | |
| 9.0.14 | 1,423,883 | 3/10/2026 | |
| 9.0.13 | 5,483 | 2/10/2026 | 9.0.13 has at least one vulnerability with high severity. |
| 9.0.12 | 12,091 | 1/13/2026 | 9.0.12 has at least one vulnerability with high severity. |