Lines Matching refs:Read
48 bool Read(std::string &buf);
51 bool Read(StreamBuffer &buf);
54 bool Read(char *buf, size_t size);
67 bool Read(T &data);
71 bool Read(std::vector<T> &data);
102 bool StreamBuffer::Read(T &data)
104 if (!Read(reinterpret_cast<char *>(&data), sizeof(data))) {
124 bool StreamBuffer::Read(std::vector<T> &data)
127 if (!Read(size)) {
128 MMI_HILOGE("Read vector size error");
132 MMI_HILOGE("Read vector size:%{public}d error", size);
137 if (!Read(val)) {
138 MMI_HILOGE("Read vector data error");
170 if (!Read(data)) {
171 MMI_HILOGW("Read data failed");