TSDuck v3.40-3963
MPEG Transport Stream Toolkit
|
Representation of an SCTE 35 splice_time() structure. More...
#include <tsSCTE35.h>
Public Member Functions | |
int | deserialize (const uint8_t *data, size_t size) |
Deserialize a SpliceTime structure from binary data. | |
void | serialize (ByteBlock &data) const |
Serialize the SpliceTime structure. | |
UString | toString () const |
Convert the SpliceTime structure to string. | |
Representation of an SCTE 35 splice_time() structure.
This is a 33-bit PTS value which can be set or unset.
int ts::SpliceTime::deserialize | ( | const uint8_t * | data, |
size_t | size | ||
) |
Deserialize a SpliceTime structure from binary data.
[in] | data | Address of data to deserialize. |
[in] | size | Size of data buffer, possibly larger than the SpliceTime structure. |
void ts::SpliceTime::serialize | ( | ByteBlock & | data | ) | const |
Serialize the SpliceTime structure.
[in,out] | data | The SpliceTime structure is serialized at the end of this byte block. |
UString ts::SpliceTime::toString | ( | ) | const |
Convert the SpliceTime structure to string.