Lines Matching refs:encode
66 The set of `encode` methods in `Item` provide the interface for
70 and then call one of the `encode` methods, whichever is convenient for
75 std::vector<uint8_t> encoding = val.encode();
87 std::vector<uint8_t> encoding = val.encode();
111 std::vector<uint8_t> encoding = val.encode();
120 #### `encode` methods
122 There are several variations of `Item::encode`, all of which
127 * `bool encode(uint8\_t** pos, const uint8\_t* end)` encodes into the
130 returns false. This is the most efficient way to encode, into an
132 * `void encode(EncodeCallback encodeCallback)` calls `encodeCallback`
137 * `template </*...*/> void encode(OutputIterator i)`
142 * `std::vector<uint8_t> encode()` creates a new std::vector, reserves
168 Map().add("key_a", 99).add("key_b", vec).encode(iter)
215 to the portion of the buffer that encode that Item. This is useful