libbio
Loading...
Searching...
No Matches
Public Member Functions | List of all members
bio::BytesView Class Reference

#include <Bytes.h>

Public Member Functions

 BytesView ()
 
 BytesView (const void *data, size_t size)
 
const unsigned charData () const
 
size_t Size () const
 
bool Empty () const
 

Detailed Description

Non-owning view into a byte buffer.

Constructor & Destructor Documentation

◆ BytesView() [1/2]

bio::BytesView::BytesView ( )
inline

◆ BytesView() [2/2]

bio::BytesView::BytesView ( const void data,
size_t  size 
)
inline

Member Function Documentation

◆ Data()

const unsigned char * bio::BytesView::Data ( ) const
inline

◆ Empty()

bool bio::BytesView::Empty ( ) const
inline

◆ Size()

size_t bio::BytesView::Size ( ) const
inline

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