v3.0.0
TagDataTranslation 3.0.0
Cross-platform GS1 EPC Tag Data Translation for RAIN RFID.
Highlights
- Cross-platform SDKs: npm (WASM), Python (pythonnet), Swift (NativeAOT), Android (NativeAOT), Flutter (dart:ffi), .NET MAUI
- Performance optimizations: regex caching, grammar token caching, pre-sorted fields/rules, lookup tables for hex/binary conversion
- BSL 1.1 licensing: non-production use is free, each version converts to Apache 2.0 after four years
Platform Support
| Platform | Package | Install |
|---|---|---|
| .NET 8/9/10 | NuGet | dotnet add package TagDataTranslation |
| JavaScript/TypeScript | npm | npm install @mimasu/tdt |
| Python | PyPI | pip install tag-data-translation |
| iOS / macOS | Swift Package Manager | Add via Xcode |
| Android | GitHub Packages | See README |
| Flutter | pub.dev | flutter pub add tag_data_translation |
| .NET MAUI | NuGet | dotnet add package TagDataTranslation |
Performance
| Operation | Mean |
|---|---|
| SGTIN-96 encode | 7.8 us |
| SGTIN-96 decode | 7.7 us |
| SGTIN++ encode (with hostname) | 24.3 us |
| SGTIN++ decode (with hostname) | 5.0 us |
| HexToBinary (96-bit) | 99 ns |
| BinaryToHex (96-bit) | 54 ns |
Full Changelog
See CHANGELOG.md for details.