{"action":"created","issue":{"url":"https://api.github.com/repos/eerimoq/asn1tools/issues/52","repository_url":"https://api.github.com/repos/eerimoq/asn1tools","labels_url":"https://api.github.com/repos/eerimoq/asn1tools/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/eerimoq/asn1tools/issues/52/comments","events_url":"https://api.github.com/repos/eerimoq/asn1tools/issues/52/events","html_url":"https://github.com/eerimoq/asn1tools/issues/52","id":407289857,"node_id":"MDU6SXNzdWU0MDcyODk4NTc=","number":52,"title":"When decoding also return the number of bytes consumed","user":{"login":"MBradbury","id":2089920,"node_id":"MDQ6VXNlcjIwODk5MjA=","avatar_url":"https://avatars1.githubusercontent.com/u/2089920?v=4","gravatar_id":"","url":"https://api.github.com/users/MBradbury","html_url":"https://github.com/MBradbury","followers_url":"https://api.github.com/users/MBradbury/followers","following_url":"https://api.github.com/users/MBradbury/following{/other_user}","gists_url":"https://api.github.com/users/MBradbury/gists{/gist_id}","starred_url":"https://api.github.com/users/MBradbury/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MBradbury/subscriptions","organizations_url":"https://api.github.com/users/MBradbury/orgs","repos_url":"https://api.github.com/users/MBradbury/repos","events_url":"https://api.github.com/users/MBradbury/events{/privacy}","received_events_url":"https://api.github.com/users/MBradbury/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2019-02-06T15:29:05Z","updated_at":"2019-02-14T20:07:39Z","closed_at":"2019-02-14T08:18:21Z","author_association":"NONE","body":"When decoding it would be useful if the number of bytes from the buffer that has been consumed is returned along with the decoded object. [decode_length](https://asn1tools.readthedocs.io/en/latest/#asn1tools.compiler.Specification.decode_length) is not useful to me as my objects are uper encoded.\r\n\r\nFor example, asn1c has a function [uper_decode_complete](https://github.com/vlm/asn1c/blob/master/skeletons/per_decoder.c#L11) that returns the number of bytes consumed.\r\n\r\nThis is useful when there is other data located after the ASN.1 encoded object and the length of the ASN.1 encoded object has not been previously specified."},"comment":{"url":"https://api.github.com/repos/eerimoq/asn1tools/issues/comments/463774205","html_url":"https://github.com/eerimoq/asn1tools/issues/52#issuecomment-463774205","issue_url":"https://api.github.com/repos/eerimoq/asn1tools/issues/52","id":463774205,"node_id":"MDEyOklzc3VlQ29tbWVudDQ2Mzc3NDIwNQ==","user":{"login":"eerimoq","id":176810,"node_id":"MDQ6VXNlcjE3NjgxMA==","avatar_url":"https://avatars1.githubusercontent.com/u/176810?v=4","gravatar_id":"","url":"https://api.github.com/users/eerimoq","html_url":"https://github.com/eerimoq","followers_url":"https://api.github.com/users/eerimoq/followers","following_url":"https://api.github.com/users/eerimoq/following{/other_user}","gists_url":"https://api.github.com/users/eerimoq/gists{/gist_id}","starred_url":"https://api.github.com/users/eerimoq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eerimoq/subscriptions","organizations_url":"https://api.github.com/users/eerimoq/orgs","repos_url":"https://api.github.com/users/eerimoq/repos","events_url":"https://api.github.com/users/eerimoq/events{/privacy}","received_events_url":"https://api.github.com/users/eerimoq/received_events","type":"User","site_admin":false},"created_at":"2019-02-14T20:07:39Z","updated_at":"2019-02-14T20:07:39Z","author_association":"OWNER","body":"Do you intend to continue the implementation? In that case we can reopen the issue."}}
{"actor":{"display_login":"eerimoq"}}