Paradise.BLOB
0.24.0
See the version list below for details.
dotnet add package Paradise.BLOB --version 0.24.0
NuGet\Install-Package Paradise.BLOB -Version 0.24.0
<PackageReference Include="Paradise.BLOB" Version="0.24.0" />
<PackageVersion Include="Paradise.BLOB" Version="0.24.0" />
<PackageReference Include="Paradise.BLOB" />
paket add Paradise.BLOB --version 0.24.0
#r "nuget: Paradise.BLOB, 0.24.0"
#:package Paradise.BLOB@0.24.0
#addin nuget:?package=Paradise.BLOB&version=0.24.0
#tool nuget:?package=Paradise.BLOB&version=0.24.0
Paradise.BLOB
Paradise.BLOB is a .NET blob builder for immutable unmanaged data layouts. It provides Unity-style blob primitives and builders that work in plain .NET code.
Install
dotnet add package Paradise.BLOB
Features
- Build immutable unmanaged roots with
ValueBuilder<T>andStructBuilder<T>. - Store arrays, strings, pointers, trees, sorted arrays, and dynamically typed payloads.
- Read blobs through raw bytes or pinned
ManagedBlobAssetReference<T>handles. - Keep offsets and alignment correct without hand-rolling binary layouts.
- Friendly to regular .NET apps and NativeAOT-oriented workflows.
Quick start
using Paradise.BLOB;
using System.Text;
public struct DemoBlob
{
public BlobString<UTF8Encoding> Name;
public BlobArray<int> Values;
public BlobPtr<int> MaxValue;
}
var builder = new StructBuilder<DemoBlob>();
builder.SetString(ref builder.Value.Name, "demo");
builder.SetArray(ref builder.Value.Values, new[] { 1, 2, 3 });
builder.SetPointer(ref builder.Value.MaxValue, 3);
using var blob = builder.CreateManagedBlobAssetReference();
Console.WriteLine(blob.Value.Name.ToString());
Console.WriteLine(string.Join(", ", blob.Value.Values.ToArray()));
Console.WriteLine(blob.Value.MaxValue.Value);
Common builders
ArrayBuilder<T>andSetArray(...)for contiguous unmanaged arrays.StringBuilder<TEncoding>andSetString(...)for encoded blob strings.PtrBuilderWithNewValue<T>andSetPointer(...)for blob pointers.TreeBuilder<T>andAnyTreeBuilderfor preordered trees with subtree end indices.SortedArrayBuilder<TKey, TValue>for hash-ordered key/value lookup tables.
Notes
- Blob roots and referenced values must be unmanaged.
- Dispose
ManagedBlobAssetReference<T>when you are done with it because it pins the backing byte array. - Use
CreateBlob()if you want the raw serialized bytes for storage or transport.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
-
net10.0
- No dependencies.
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Paradise.BLOB:
| Package | Downloads |
|---|---|
|
Paradise.BT
Pure .NET behavior tree runtime inspired by EntitiesBT. |
|
|
Paradise.Physics
Stateless collision/physics query library for Paradise Engine: static colliders, raycasts and shape casts with no caches and no hidden state. |
|
|
Paradise.Assets.Mesh
The Paradise mesh blob: GPU-ready interleaved geometry with draw records as a Paradise.BLOB layout, read at runtime by pinning the bytes the asset pipeline extracted from a GLB. No glTF, no JSON, no images. |
|
|
Paradise.Animation
Skeletal animation runtime and offline builder in managed code, using ozz-animation's archive format: load an ozz skeleton and clips, sample a clip into local poses and model-space matrices; build, optimize and save the same archives from raw keyframes. No native code. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.47.0 | 40 | 9/10/2026 |
| 0.46.3 | 76 | 9/9/2026 |
| 0.46.2 | 73 | 9/9/2026 |
| 0.46.1 | 76 | 9/9/2026 |
| 0.46.0 | 85 | 9/9/2026 |
| 0.45.1 | 114 | 9/8/2026 |
| 0.45.0 | 125 | 9/8/2026 |
| 0.44.0 | 130 | 9/8/2026 |
| 0.42.0 | 157 | 9/7/2026 |
| 0.41.0 | 164 | 9/6/2026 |
| 0.40.0 | 182 | 9/6/2026 |
| 0.39.0 | 168 | 9/6/2026 |
| 0.38.0 | 151 | 9/5/2026 |
| 0.37.0 | 150 | 9/5/2026 |
| 0.36.0 | 154 | 9/4/2026 |
| 0.35.0 | 131 | 9/3/2026 |
| 0.34.1 | 126 | 9/3/2026 |
| 0.34.0 | 133 | 9/2/2026 |
| 0.33.0 | 120 | 9/1/2026 |
| 0.24.0 | 132 | 8/25/2026 |