Module exampleParser
source code
Autogenerated python functions to serialize/deserialize binary
messages.
WRITTEN BY HAND. THIS VERSION IS FOR ME TO WRITE THE CODE BEFORE
HAND. Then I can create the code generator.
Generated by: ./xmlbinmsg.py
Need to then wrap these functions with the outer AIS packet and then
convert the whole binary blob to a NMEA string. Those functions are not
currently provided in this file.
serialize: python to ais binary deserialize: ais binary to python
The generated code uses translators.py, binary.py, and aisstring.py
which should be packaged with the resulting files.
Requires:
Author:
xmlbinmsg
Version:
4791
Status:
under development
License:
Generated code has no license
|
__date__ = '2006-10-18'
Date of last svn commit
|
Serializer for the waterlevel binary message
Keywords and types:
-
dac: uint
-
unavail_uint: uint
-
uint: uint
FIX: generate CORRECT doctest string that does all the defaults
The default message:
>>> print waterlevelEncode()
1011011101100
-
- Parameters:
aDict - for passing in a dictionary of keyword and values.
params - keyword dictionary or if a dict is passed, it will use that
dict
Note:
only use one of aDict or params
|
__date__
Date of last svn commit
-
- Value:
|