CatapultServer
v0.5.0.1 (Elephant)
|
Basic raw buffer that is composed of a pointer and a size. More...
Public Member Functions | |
constexpr | BasicRawBuffer () |
Creates an empty buffer. More... | |
template<typename TContainer , typename X = std::enable_if_t<!traits::is_base_of_ignore_reference_v<BasicRawBuffer, TContainer>>, typename Y = std::enable_if_t<!std::is_scalar_v<TContainer>>> | |
BasicRawBuffer (TContainer &&container) | |
Creates a buffer around the entire contents of container. More... | |
constexpr | BasicRawBuffer (T *pRawBuffer, size_t size) |
Creates buffer around pRawBuffer pointer and size. More... | |
Public Attributes | |
T * | pData |
Data pointer. More... | |
size_t | Size |
Data size. More... | |
Basic raw buffer that is composed of a pointer and a size.
|
inlineconstexpr |
Creates an empty buffer.
|
inline |
Creates a buffer around the entire contents of container.
|
inlineconstexpr |
Creates buffer around pRawBuffer pointer and size.
T* catapult::utils::BasicRawBuffer< T >::pData |
Data pointer.
size_t catapult::utils::BasicRawBuffer< T >::Size |
Data size.