MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / decodeArrayLikeField

Function decodeArrayLikeField

src/Common/FieldBinaryEncoding.cpp:269–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267
268template <typename T>
269T decodeArrayLikeField(ReadBuffer & buf)
270{
271 size_t size = 0;
272 readVarUInt(size, buf);
273 T value;
274 for (size_t i = 0; i != size; ++i)
275 value.push_back(decodeField(buf));
276 return value;
277}
278
279}
280void encodeField(const Field & x, WriteBuffer & buf)

Callers

nothing calls this directly

Calls 2

decodeFieldFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected