TSDuck v3.46-4930
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches

Namespaces

namespace  ts
 TSDuck namespace, containing all TSDuck classes and functions.

Functions

void ts::BCDToString (std::string &str, const uint8_t *bcd, size_t bcd_count, int decimal, bool left_justified=true)
uint32_t ts::DecodeBCD (const uint8_t *bcd, size_t bcd_count, bool left_justified=true)
int ts::DecodeBCD (uint8_t b)
uint8_t ts::EncodeBCD (int i)
void ts::EncodeBCD (uint8_t *bcd, size_t bcd_count, uint32_t value, bool left_justified=true, uint8_t pad_nibble=0)
bool ts::IsValidBCD (uint8_t b)

Detailed Description

Binary Coded Decimal utilities