Skip to content

decode: ensure full output is returned as a string.#54

Open
andrewleech wants to merge 1 commit intoNaturalHistoryMuseum:masterfrom
andrewleech:patch-1
Open

decode: ensure full output is returned as a string.#54
andrewleech wants to merge 1 commit intoNaturalHistoryMuseum:masterfrom
andrewleech:patch-1

Conversation

@andrewleech
Copy link

When decoding base256 binary barcodes the output can be truncated by null charaters when using the default ctypes.string_at() function.

This change ensure the full detected / declared length of the output is returned.

@coveralls
Copy link

coveralls commented Dec 16, 2019

Coverage Status

Coverage decreased (-0.2%) to 96.186% when pulling de3ce9e on andrewleech:patch-1 into a425ec3 on NaturalHistoryMuseum:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants