/** invalidate blob's data - doesn't free buffer */ FORCEINLINE void Clear() { LengthRef() = 0; }
/** * Increase Length() by num_bytes. * @return pointer to the new data added */ FORCEINLINE byte *Append(size_t num_bytes) { byte *pNewData = Prepare(num_bytes); LengthRef() += num_bytes; return pNewData; }
/** invalidate blob's data - doesn't free buffer */ inline void Clear() { LengthRef() = 0; }