Searched refs:remainingLength (Results 1 – 1 of 1) sorted by relevance
83 memcpy(&val, mData, std::min(sizeof(val), remainingLength())); in copyFirst()87 bool firstOk() const { return sizeof(T) <= remainingLength(); } in firstOk()154 size_t len() const { return mBuffer.remainingLength(); } in len()168 bool ok() const { return declaredLength() <= remainingLength(); } in ok()178 if (sizeof(T) > remainingLength()) return badHeaderLength; in declaredLength()184 size_t remainingLength() const { in remainingLength() function