wstrange / asn1lib

Dart ASN1 Encoder / Decoder
BSD 2-Clause "Simplified" License
30 stars 31 forks source link

Fix null exception when accessing valueBytes before encodedBytes #63

Closed nico-famedly closed 1 year ago

nico-famedly commented 1 year ago

Noticed this when doing some weird stuff in a project. If you had not called encodedBytes first, then some object types would throw. You can work around it, but the fix for it is pretty simple :)

wstrange commented 1 year ago

Thanks Nicolas - much appreciated! Can you bump the minor version number in pubspec, and add a changelog entry. Then I'll push a new version to pub

nico-famedly commented 1 year ago

Done! Feel free to squash as you prefer.

(Also thank you for the fast response!)

wstrange commented 1 year ago

New version published. Thanks!!