Lines Matching refs:writer
25 void writeTo(BufferWriter* writer) const { in writeTo()
28 writer->write<uint8_t>(0xAB); in writeTo()
30 writer->write<uint16_t>(0xCDEF); in writeTo()
32 writer->write<uint8_t>(0x01); in writeTo()
35 writer->writeArray<uint32_t>(uint32Array, 2); in writeTo()
36 uint16_t* uint16Array = writer->reserve<uint16_t>(2 * sizeof(uint16_t)); in writeTo()
51 BufferWriter writer(buffer.data()); in TEST() local
52 testObject.writeTo(&writer); in TEST()
53 ASSERT_EQ(writer.size(), buffer.size()); in TEST()
81 BufferWriter writer(buffer.data()); in TEST() local
82 testObject.writeTo(&writer); in TEST()
83 ASSERT_EQ(writer.size(), buffer.size()); in TEST()