Searched refs:elements_size (Results 1 – 2 of 2) sorted by relevance
296 uint32_t elements_size = pos; in serialize() local306 out.write(reinterpret_cast<const char*>(&elements_size), sizeof(uint32_t)); in serialize()309 if (elements_size) out << elements.rdbuf(); in serialize()310 assert(out.tellp() - pos == elements_size); in serialize()386 uint32_t elements_size = 0; in deserialize() local387 in.read(reinterpret_cast<char*>(&elements_size), sizeof(uint32_t)); in deserialize()389 std::string elements_buffer(elements_size, '\0'); in deserialize()390 if (elements_buffer.size() != elements_size) { in deserialize()
310 uint32_t elements_size = pos; in serialize() local320 out.write(reinterpret_cast<const char*>(&elements_size), sizeof(uint32_t)); in serialize()323 if (elements_size) out << elements.rdbuf(); in serialize()324 assert(out.tellp() - pos == elements_size); in serialize()407 uint32_t elements_size = 0; in deserialize() local408 in.read(reinterpret_cast<char*>(&elements_size), sizeof(uint32_t)); in deserialize()410 std::string elements_buffer(elements_size, '\0'); in deserialize()411 if (elements_buffer.size() != elements_size) { in deserialize()