kpilot/lib
Pilot::dlp< short > Struct Template Reference
List of all members.Detailed Description
template<>
struct Pilot::dlp< short >
Definition at line 294 of file pilot.h.
Public Types | |
| enum | { size = 2 } |
Static Public Member Functions | |
| static void | append (pi_buffer_t *b, short v) |
| static int | read (const pi_buffer_t *b, unsigned int &offset) |
| static int | read (const unsigned char *b, unsigned int &offset) |
Member Function Documentation
|
||||||||||||
|
Overload to read from a data buffer instead of a real pi_buffer; does no bounds checking.
|
|
||||||||||||
|
Returns the next short (2 byte) value from the buffer, or -1 on error (which is also a valid return value).
|
The documentation for this struct was generated from the following file:

