TSDuck v3.46-4930
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
tsByteBlock.h File Reference

Classes

class  ts::ByteBlock
class  ts::ByteBlock::Overlap

Namespaces

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

Typedefs

using ts::ByteBlockList = std::list<ByteBlock>
using ts::ByteBlockPtr = std::shared_ptr<ByteBlock>
using ts::ByteBlockVector = std::vector<ByteBlock>

Functions

std::ostream & operator<< (std::ostream &strm, const ts::ByteBlock &bb)
std::istream & operator>> (std::istream &strm, ts::ByteBlock &bb)

Detailed Description

Definition of a generic block of bytes.

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & strm,
const ts::ByteBlock & bb )
inline

Output operator for ts::ByteBlock on standard binary streams.

Parameters
[in,out]strmA standard stream in binary output mode.
[in]bbA byte block.
Returns
A reference to the strm object.

◆ operator>>()

std::istream & operator>> ( std::istream & strm,
ts::ByteBlock & bb )
inline

Input operator for ts::ByteBlock from standard binary streams.

Parameters
[in,out]strmA standard stream in binary input mode.
[out]bbA byte block.
Returns
A reference to the strm object.