Skip to content

Issue with serializeLabel method #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sandytechno1 opened this issue Oct 13, 2018 · 0 comments
Open

Issue with serializeLabel method #1

sandytechno1 opened this issue Oct 13, 2018 · 0 comments

Comments

@sandytechno1
Copy link

There is no null handing for "full" parameter

private string serializeLabel(out int length, string question, out string rest, string full = "")

if (currentBit == "C0")
in above condition if full parameter is null it throws exception on below line,
string data = full.Substring(offset);

What is current bit and what are all these conditions if you have any documentation around it please do share.

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

No branches or pull requests

1 participant