Skip to content

Instantly share code, notes, and snippets.

@GreyCat
Created November 25, 2016 15:45
Show Gist options
  • Save GreyCat/6c7198f60e6ce3f0734b2b5b2dad98f8 to your computer and use it in GitHub Desktop.
Save GreyCat/6c7198f60e6ce3f0734b2b5b2dad98f8 to your computer and use it in GitHub Desktop.
meta:
id: transport_sign
endian: le
seq:
- id: num_lines
type: u4
- id: lines
repeat: expr
repeat-expr: num_lines
type: line
types:
line:
seq:
- id: line_num
type: u4
- id: line_num_len
type: u1
- id: line_num_str
type: str
encoding: iso8859-1
size: line_num_len
- id: dest_len
type: u1
- id: code1
type: u4
- id: dest
type: str
encoding: iso8859-1
size: dest_len
- id: gps_lat
type: f8
- id: gps_lon
type: f8
- id: timestamp
type: u4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment