kpilot

Pilot::dlp< char * > Struct Template Reference

#include <pilot.h>

List of all members.


Static Public Member Functions

static int read (const pi_buffer_t *b, unsigned int &offset, char *v, size_t s)
static int read (const pi_buffer_t *b, unsigned int &offset, unsigned char *v, size_t s)

Detailed Description

template<>
struct Pilot::dlp< char * >

Definition at line 376 of file pilot.h.


Member Function Documentation

static int Pilot::dlp< char * >::read ( const pi_buffer_t *  b,
unsigned int &  offset,
char *  v,
size_t  s 
) [inline, static]

Overload for signed char.

Definition at line 401 of file pilot.h.

static int Pilot::dlp< char * >::read ( const pi_buffer_t *  b,
unsigned int &  offset,
unsigned char *  v,
size_t  s 
) [inline, static]

Read a fixed-length string from the buffer b into data buffer v which has size (including terminating NUL) of s.

Returns the number of bytes read (which will normally be s but will be less than s on error).

Definition at line 386 of file pilot.h.


The documentation for this struct was generated from the following file: