2.4.0 #44
Tochemey
announced in
Announcements
2.4.0
#44
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
🚀 What's Changed
✨ Fluent Message Factory Builder API
MessageFactoryBuilder<T>provides a fluent, type-safe API for constructing fully-configuredMessageFactoryinstances entirely in code.Extends(), with field-level override and exclusion support.MessageFactoryBuilder<T>,TemplateBuilder,ParseMapBuilder, andCompositeFieldBuilder.⚡ Performance: Zero-Copy Parsing, Span<T>, Bitmap128 & Allocation Reductions
Bitmap128struct backed byUInt128replacesBitArrayfor field-presence tracking — significantly faster bit operations with zero heap allocations.Span<T>andReadOnlySpan<T>used throughout parsing and encoding, enabling zero-copy byte/string conversions and eliminating intermediate array allocations.Bytesextensions) usingMemoryMarshal.Castfor reinterpreting betweenbyte[]andsbyte[]without copying.Stringxextensions withGetSignedBytes()overloads that encode directly into destination buffers, plusArrayPool<T>pooled variants for hot paths.EncodingCacheto avoid repeated encoding lookups.NetCore8583.Util→NetCore8583.Extensionsnamespace for clearer separation.IsoMessage,IsoValue,MessageFactory, and codec classes updated to use the new span-based APIs.NetCore8583.Utilnamespace has been reorganised intoNetCore8583.Extensions. If you reference types likeHexCodec,Bcd,Arrays,OsUtil,Enumm,DictionaryExtensions, orParseExceptiondirectly, update yourusingstatements accordingly.ByteUtil,DateUtil,StringUtil,DictionaryExtensions,Enumm, andParseExceptionfromNetCore8583.Util(replaced by equivalents inNetCore8583.Extensions).Full Changelog: 2.3.0...2.4.0
This discussion was created from the release 2.4.0.
Beta Was this translation helpful? Give feedback.
All reactions