kpilot/lib

Pilot::dlp< long > Struct Template Reference

List of all members.

Detailed Description

template<>
struct Pilot::dlp< long >

Definition at line 335 of file pilot.h.


Public Types

enum  { size = 4 }

Static Public Member Functions

static void append (pi_buffer_t *b, int 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

static int Pilot::dlp< long >::read const unsigned char *  b,
unsigned int &  offset
[inline, static]
 

Overload to read a long value from a data buffer; does no bounds checking.

Definition at line 368 of file pilot.h.

static int Pilot::dlp< long >::read const pi_buffer_t *  b,
unsigned int &  offset
[inline, static]
 

Returns the next long (4 byte) value from the buffer or -1 on error (which is also a valid value).

Definition at line 350 of file pilot.h.


The documentation for this struct was generated from the following file:
KDE Home | KDE Accessibility Home | Description of Access Keys