CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
28 namespace catapult {
namespace utils {
42 typename X = std::enable_if_t<!traits::is_base_of_ignore_reference_v<BasicRawBuffer, TContainer>>,
44 typename Y = std::enable_if_t<!std::is_scalar_v<TContainer>>
98 typename X = std::enable_if_t<std::is_same_v<char, typename std::remove_const_t<T>>>>
100 out.write(str.
pData, static_cast<std::streamsize>(str.
Size));
constexpr BasicRawBuffer(T *pRawBuffer, size_t size)
Creates buffer around pRawBuffer pointer and size.
Definition: RawBuffer.h:50
constexpr RawString()
Creates an empty string buffer.
Definition: RawBuffer.h:74
Basic raw buffer that is composed of a pointer and a size.
Definition: RawBuffer.h:32
uint64_t size
Definition: MemoryCounters.cpp:65
A mutable string buffer.
Definition: RawBuffer.h:82
size_t Size
Data size.
Definition: RawBuffer.h:58
A const string buffer.
Definition: RawBuffer.h:68
std::ostream & operator<<(std::ostream &out, const BlockSpan &blockSpan)
Insertion operator for outputting blockSpan to out.
Definition: BlockSpan.cpp:27
T * pData
Data pointer.
Definition: RawBuffer.h:55
BasicRawBuffer(TContainer &&container)
Creates a buffer around the entire contents of container.
Definition: RawBuffer.h:46
Definition: AddressExtractionExtension.cpp:28
constexpr BasicRawBuffer()
Creates an empty buffer.
Definition: RawBuffer.h:35
constexpr MutableRawString()
Creates an empty mutable string buffer.
Definition: RawBuffer.h:88