Skip to content
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

Offset and length were out of bounds for the array #8

Open
shoumik123 opened this issue Dec 24, 2018 · 0 comments
Open

Offset and length were out of bounds for the array #8

shoumik123 opened this issue Dec 24, 2018 · 0 comments

Comments

@shoumik123
Copy link

shoumik123 commented Dec 24, 2018

Getting error when i am trying to de-seriliaze the Web Service response

Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.

Service response

{
"status" : "Hello"
}

```var bytesre = ZeroFormatterSerializer.Deserialize<Status>(bytes); // throwing error

 [ZeroFormattable]
    public class Status {

        [Index(0)]
        public virtual string status { get; set; }
    }


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