We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How would I use DataKit to encode a variable length structure?
My bytes representation looks like this.
( 1 Byte ) [ Length ][ Type ][ ID ][ Version ]...[ ID ][ Version ]
(Length is the overall byte count.)
I've tried to create a struct but I'm unable to provide a write format.
typealias ID = UInt8 typealias Version = UInt8 struct InfoBlock { let blockType: UInt8 let values: [ID:Version] }
How would the format look like to map it to the above mentioned bytes representation?
Thanks for the help.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
How would I use DataKit to encode a variable length structure?
My bytes representation looks like this.
(Length is the overall byte count.)
I've tried to create a struct but I'm unable to provide a write format.
How would the format look like to map it to the above mentioned bytes representation?
Thanks for the help.
The text was updated successfully, but these errors were encountered: