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

In example, extract is not resolved? #387

Open
FatherNelson opened this issue Aug 8, 2017 · 0 comments
Open

In example, extract is not resolved? #387

FatherNelson opened this issue Aug 8, 2017 · 0 comments
Assignees

Comments

@FatherNelson
Copy link

So I was running this example:
`var parser = require('packet').createPacketizer(this);

parser.extract("length: b16, address: b32, name: b8z", function (object) {
console.log(object.length, object.address, object.name);
});
parser.parse([ 0x01, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x01, 0x02, 0x00 ]);`
And was getting the error "unresolved function or method extract". I am unsure what is wrong with the example, and I am a novice, so any help would be greatly appreciated. Thanks!

@bigeasy bigeasy self-assigned this Jan 19, 2020
@bigeasy bigeasy added this to the Parse Me Something Mister milestone Jan 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants