Honeycomb  0.1
Component-Model Framework
Public Types | Public Member Functions | Friends | List of all members
honey::ByteArray< N > Struct Template Reference

Fixed array of N bytes. More...

#include <Bytes.h>

Inheritance diagram for honey::ByteArray< N >:
Inheritance graph
[legend]
Collaboration diagram for honey::ByteArray< N >:
Collaboration graph
[legend]

Public Types

typedef array< byte, N > Super
 

Public Member Functions

 ByteArray ()=default
 
template<class... Bytes>
 ByteArray (byte b, Bytes &&...bs)
 Construct from list of byte values. More...
 
 ByteArray (ByteBufConst bs)
 
 ByteArray (const Bytes &bs)
 

Friends

ostream & operator<< (ostream &os, const ByteArray &val)
 Write byte array to string stream using current encoding. More...
 
istream & operator>> (istream &is, ByteArray &val)
 Read byte array from string stream using current decoding. More...
 

Detailed Description

template<szt N>
struct honey::ByteArray< N >

Fixed array of N bytes.

Member Typedef Documentation

template<szt N>
typedef array<byte, N> honey::ByteArray< N >::Super

Constructor & Destructor Documentation

template<szt N>
honey::ByteArray< N >::ByteArray ( )
default
template<szt N>
template<class... Bytes>
honey::ByteArray< N >::ByteArray ( byte  b,
Bytes &&...  bs 
)
inline

Construct from list of byte values.

template<szt N>
honey::ByteArray< N >::ByteArray ( ByteBufConst  bs)
inline
template<szt N>
honey::ByteArray< N >::ByteArray ( const Bytes bs)
inline

Friends And Related Function Documentation

template<szt N>
ostream& operator<< ( ostream &  os,
const ByteArray< N > &  val 
)
friend

Write byte array to string stream using current encoding.

template<szt N>
istream& operator>> ( istream &  is,
ByteArray< N > &  val 
)
friend

Read byte array from string stream using current decoding.


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