LTRData.DiscUtils.Streams
1.0.89
dotnet add package LTRData.DiscUtils.Streams --version 1.0.89
NuGet\Install-Package LTRData.DiscUtils.Streams -Version 1.0.89
<PackageReference Include="LTRData.DiscUtils.Streams" Version="1.0.89" />
<PackageVersion Include="LTRData.DiscUtils.Streams" Version="1.0.89" />
<PackageReference Include="LTRData.DiscUtils.Streams" />
paket add LTRData.DiscUtils.Streams --version 1.0.89
#r "nuget: LTRData.DiscUtils.Streams, 1.0.89"
#:package LTRData.DiscUtils.Streams@1.0.89
#addin nuget:?package=LTRData.DiscUtils.Streams&version=1.0.89
#tool nuget:?package=LTRData.DiscUtils.Streams&version=1.0.89
LTRData.DiscUtils.Streams
.NET sparse-stream, buffer, extent, caching and stream-building primitives used by DiscUtils storage implementations.
Part of the LTRData DiscUtils fork. Package IDs use LTRData.DiscUtils; C# namespaces remain DiscUtils.
Installation
dotnet add package LTRData.DiscUtils.Streams
Usage notes
Use this package directly when you need sparse memory streams, stream composition, allocation extents, buffers or stream builders without depending on Core or a filesystem implementation. Ownership controls whether wrappers dispose the streams they wrap. No format registration is needed.
Example
using System;
using DiscUtils.Streams;
using var stream = new SparseMemoryStream();
stream.SetLength(1024L * 1024 * 1024);
stream.Position = stream.Length - 1;
stream.WriteByte(42);
foreach (var extent in stream.Extents)
Console.WriteLine($"{extent.Start}: {extent.Length}");
Related packages
Documentation
Repository and capability matrix · Wiki · Migration guide · Format registration and Native AOT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net46 is compatible. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 is compatible. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6
- LTRData.Extensions (>= 1.0.23)
- System.Collections.Immutable (>= 1.7.1)
- System.Memory (>= 4.5.5)
- System.Security.Cryptography.Algorithms (>= 4.3.1)
- System.Threading.Tasks.Extensions (>= 4.5.4)
- System.ValueTuple (>= 4.5.0)
-
.NETFramework 4.8
- LTRData.Extensions (>= 1.0.23)
- Microsoft.Bcl.HashCode (>= 6.0.0)
- System.Collections.Immutable (>= 9.0.20)
- System.Memory (>= 4.6.3)
- System.Threading.Tasks.Extensions (>= 4.6.3)
-
.NETStandard 2.0
- LTRData.Extensions (>= 1.0.23)
- Microsoft.Bcl.HashCode (>= 6.0.0)
- System.Collections.Immutable (>= 9.0.20)
- System.Memory (>= 4.6.3)
- System.Threading.Tasks.Extensions (>= 4.6.3)
-
.NETStandard 2.1
- LTRData.Extensions (>= 1.0.23)
- System.Collections.Immutable (>= 9.0.20)
-
net10.0
- LTRData.Extensions (>= 1.0.23)
-
net8.0
- LTRData.Extensions (>= 1.0.23)
-
net9.0
- LTRData.Extensions (>= 1.0.23)
NuGet packages (10)
Showing the top 5 NuGet packages that depend on LTRData.DiscUtils.Streams:
| Package | Downloads |
|---|---|
|
LTRData.DiscUtils.Core
Common .NET disk, filesystem, partition and volume abstractions for DiscUtils, including raw disks and format-discovery infrastructure. |
|
|
LTRData.DiscUtils.Btrfs
Managed .NET support for reading Btrfs filesystems, including file contents and filesystem metadata. |
|
|
LTRData.DiscUtils.Registry
Managed .NET support for reading, creating and modifying Windows Registry hive files and applying pending registry transaction-log changes. |
|
|
LTRData.DiscUtils.Dokan
Mounts DiscUtils IFileSystem implementations using Dokan file system driver |
|
|
LTRData.DiscUtils.MountFuse
FUSE integration for exposing DiscUtils filesystem implementations on platforms supported by LTRData.FuseDotNet. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on LTRData.DiscUtils.Streams:
| Repository | Stars |
|---|---|
|
dokan-dev/dokan-dotnet
Dokan DotNet Wrapper
|
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.89 | 866 | 9/22/2026 |
| 1.0.88 | 7,166 | 8/3/2026 |
| 1.0.87 | 2,752 | 7/20/2026 |
| 1.0.86 | 6,273 | 7/4/2026 |
| 1.0.85 | 2,336 | 6/30/2026 |
| 1.0.84 | 1,687 | 6/27/2026 |
| 1.0.83 | 2,255 | 6/18/2026 |
| 1.0.82 | 15,274 | 5/26/2026 |
| 1.0.81 | 3,154 | 5/14/2026 |
| 1.0.80 | 5,882 | 4/24/2026 |
| 1.0.77 | 9,080 | 3/13/2026 |
| 1.0.76 | 4,096 | 3/10/2026 |
| 1.0.75 | 3,145 | 2/20/2026 |
| 1.0.74 | 1,721 | 2/18/2026 |
| 1.0.73 | 6,707 | 1/5/2026 |
| 1.0.72 | 6,004 | 11/25/2025 |
| 1.0.71 | 2,912 | 11/19/2025 |
| 1.0.70 | 3,163 | 11/11/2025 |
| 1.0.69 | 2,219 | 10/31/2025 |
| 1.0.68 | 1,618 | 10/30/2025 |