Iotic-Labs / py-ubjson

Universal Binary JSON draft-12 serializer for Python
Apache License 2.0
42 stars 12 forks source link

Add function to decode more than one data structure in a file #6

Closed ferret-guy closed 5 years ago

ferret-guy commented 5 years ago

I needed to decode binary files with many ubjson structures inside possibly separated by null characters, I created a function called load_all to handle this case. My code is PEP8 compliant and includes some testing, though it could use a little more to get to 100% coverage.