ChunkMoji 1.0.0
dotnet add package ChunkMoji --version 1.0.0
NuGet\Install-Package ChunkMoji -Version 1.0.0
<PackageReference Include="ChunkMoji" Version="1.0.0" />
<PackageVersion Include="ChunkMoji" Version="1.0.0" />
<PackageReference Include="ChunkMoji" />
paket add ChunkMoji --version 1.0.0
#r "nuget: ChunkMoji, 1.0.0"
#:package ChunkMoji@1.0.0
#addin nuget:?package=ChunkMoji&version=1.0.0
#tool nuget:?package=ChunkMoji&version=1.0.0
๐ ChunkMoji
ChunkMoji is an experimental emoji-based encoding system that puts style and fun above pure efficiency.
Instead of compressing every last byte, it transforms data into colorful emoji sequences you can share, display, or just enjoy looking at.
This project is meant for fun, but it also demonstrates how modern .NET 10 techniques (like Span<T>
and low-allocation APIs) can be applied in creative ways.
Be aware, that this is not space efficient, since emojis can be pretty big byte wise.
โจ Features
- ๐ค Encode and decode arbitrary byte sequences into emoji
- ๐ง Uses
Span<T>
and other modern .NET memory-safe optimizations - โก Low heap allocations for better performance
- ๐ ๏ธ Ready for integration into any .NET 10 project
๐ค๏ธ Todos
- Streaming APIs
- More Documentation
- More Tests
๐ฆ NuGet Package
Project / Package | NuGet |
---|---|
ChunkMoji |
๐ Encoding Overview
ChunkMoji encodes data using emoji as "digits" in a large custom base.
Different versions can use different emoji alphabets and padding strategies.
Encoding Version | Base Alphabet |
---|---|
CacheVersion.V1 |
Base 2048 โ 2,048 unique emojis + 10 padding emojis for alignment purposes |
๐ Examples
Encoding string data to string encoding and back
const string testString = "Hello, let's check if this works, here is a emoji too: โ๏ธ";
var encoded = ChunkMojifier.EncodeToString(testString);
var decoded = ChunkMojifier.DecodeToString(encoded);
Encoding raw bytes to encoded bytes and back
var span = stackalloc byte[128];
RandomNumberGenerator.Fill(span);
var encoded = ChunkMojifier.Encode(span);
var decoded = ChunkMojifier.Decode(encoded);
// decoded == span
๐ค Contributing
Pull requests are welcome! If you have ideas for:
New emoji sets ๐ Faster decoding strategies โก Fun side projects ๐ญ
โฆfeel free to open an issue or PR.
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
- Me.Memory (>= 1.1.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.0.0 | 0 | 9/28/2025 |