OpenCPN Partial API docs
Loading...
Searching...
No Matches
AisBitstring Class Reference

Public Member Functions

 AisBitstring (const char *str)
 
unsigned char to_6bit (const char c)
 
int GetInt (int sp, int len, bool signed_flag=false)
 sp is starting bit, 1-based More...
 
int GetStr (int sp, int bit_len, char *dest, int max_len)
 
int GetBitCount ()
 

Detailed Description

Definition at line 30 of file ais_bitstring.h.

Constructor & Destructor Documentation

◆ AisBitstring()

AisBitstring::AisBitstring ( const char *  str)

Definition at line 29 of file ais_bitstring.cpp.

Member Function Documentation

◆ GetBitCount()

int AisBitstring::GetBitCount ( )

Definition at line 37 of file ais_bitstring.cpp.

◆ GetInt()

int AisBitstring::GetInt ( int  sp,
int  len,
bool  signed_flag = false 
)

sp is starting bit, 1-based

Definition at line 57 of file ais_bitstring.cpp.

◆ GetStr()

int AisBitstring::GetStr ( int  sp,
int  bit_len,
char *  dest,
int  max_len 
)

Definition at line 77 of file ais_bitstring.cpp.

◆ to_6bit()

unsigned char AisBitstring::to_6bit ( const char  c)

Definition at line 41 of file ais_bitstring.cpp.


The documentation for this class was generated from the following files: