Lines Matching full:raw
120 explicit Payload(SecureBuffer&& data) : raw(std::move(data)) {} in Payload()
124 if (raw.size() != 0 && std::uncaught_exceptions() == 0 && !trailingOk && in ~Payload()
128 "Failed to check request for full unpack: raw size: {RAW_SIZE}", in ~Payload()
129 "RAW_SIZE", raw.size()); in ~Payload()
134 * raw vector access
137 * @brief return the size of the underlying raw buffer
141 return raw.size(); in size()
144 * @brief resize the underlying raw buffer to a new size
150 raw.resize(sz); in resize()
153 * @brief return a pointer to the underlying raw buffer
157 return raw.data(); in data()
160 * @brief return a const pointer to the underlying raw buffer
164 return raw.data(); in data()
188 raw.insert(raw.end(), reinterpret_cast<const uint8_t*>(begin), in append()
235 raw.push_back(retVal); in drain()
288 raw.reserve(raw.size() + p.raw.size()); in prepend()
289 raw.insert(raw.begin(), p.raw.begin(), p.raw.end()); in prepend()
297 * @brief pop a series of bytes from the raw buffer
319 if (count <= (raw.size() - rawIndex)) in pop()
322 reinterpret_cast<T*>(raw.data() + rawIndex), in pop()
323 reinterpret_cast<T*>(raw.data() + rawIndex + count)); in pop()
350 if (rawIndex < raw.size()) in fillBits()
352 fixed_uint_t<details::bitStreamSize> tmp = raw[rawIndex++]; in fillBits()
359 // raw has run out of bytes to pop in fillBits()
416 return raw.size() == rawIndex && bitCount == 0 && !unpackError; in fullyUnpacked()
484 SecureBuffer raw; member