Hst.Core
1.0.105
dotnet add package Hst.Core --version 1.0.105
NuGet\Install-Package Hst.Core -Version 1.0.105
<PackageReference Include="Hst.Core" Version="1.0.105" />
<PackageVersion Include="Hst.Core" Version="1.0.105" />
<PackageReference Include="Hst.Core" />
paket add Hst.Core --version 1.0.105
#r "nuget: Hst.Core, 1.0.105"
#:package Hst.Core@1.0.105
#addin nuget:?package=Hst.Core&version=1.0.105
#tool nuget:?package=Hst.Core&version=1.0.105
Hst Core
Hst Core is a library with common classes and extensions used by Hst Imager, Hst Amiga and other Hst projects.
Features:
ResultandResult<T>withErrorto return a value or an error without throwing exceptions.- Stream extensions to read bytes, read and write big-endian 16 and 32 bit integers and find a byte pattern in a stream. Reads handle partial reads and throw
EndOfStreamExceptionwhen the stream ends early. - Big-endian, little-endian and signed byte converters for integer values and byte arrays.
- Layered stream that writes changes to a layer stream on top of a base stream, which can be flushed to the base stream or discarded.
- Cached stream that caches blocks of an underlying stream for reads and writes.
- Block memory stream that represents a large stream in memory by storing only blocks with data written to them.
- Hybrid stream that switches from one stream to another when a size threshold is reached, for example from memory to a file.
- Process extensions to run a process and return its standard output, with cancellation that kills the process.
- Operating system helpers to detect Windows, macOS and Linux and check whether the process runs as administrator.
- Size extensions for KB, MB and GB, and rounding sizes to sector size or a universal size that fits CF/SD cards and SSDs of different brands.
- Array, byte array and format extensions to slice, chunk, copy, search and format bytes as hex.
| 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 | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- System.Security.Principal.Windows (>= 5.0.0)
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Hst.Core:
| Package | Downloads |
|---|---|
|
Hst.Amiga
Hst Amiga is a library for reading and writing Amiga partition table, file systems, data types. |
|
|
Hst.Compression
Hst Compression is a library for reading, extracting and creating compression file formats. |
|
|
Hst.Amiga.ConsoleApp
Package Description |
|
|
Hst.Amiga.Vm
Hst Amiga Vm is a virtual machine for running Amiga 68000/68020 CLI executables with emulated exec and dos libraries. |
|
|
Hst.Imager.Core
Hst Imager Core is a library for reading, writing, partitioning and copying files to and from disk images and physical drives with focus on Amiga disks. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.105 | 232 | 11/27/2026 |
| 1.0.104 | 4,939 | 11/17/2026 |
| 0.4.96 | 843 | 10/21/2026 |
| 0.4.91 | 469 | 6/18/2026 |
| 0.4.89 | 3,190 | 5/26/2026 |
| 0.4.88 | 205 | 5/16/2026 |
| 0.4.87 | 935 | 4/29/2026 |
| 0.4.85 | 849 | 3/28/2026 |
| 0.4.83 | 227 | 3/20/2026 |
| 0.4.80 | 249 | 3/17/2026 |
| 0.4.79 | 439 | 2/9/2026 |
| 0.4.76 | 259 | 1/26/2026 |
| 0.4.73 | 378 | 12/31/2025 |
| 0.4.72 | 337 | 12/25/2025 |
| 0.4.67 | 1,514 | 12/8/2025 |
| 0.4.61 | 929 | 4/21/2025 |
| 0.4.60 | 14,186 | 9/23/2023 |
| 0.4.59 | 377 | 9/13/2023 |
| 0.4.58 | 352 | 9/13/2023 |
| 0.4.57 | 2,718 | 7/8/2023 |
See release notes at https://github.com/henrikstengaard/hst-core/releases