* Append the given array */
| 139 | * Append the given array |
| 140 | */ |
| 141 | static inline void PackArray(const Array::Ptr& arr, std::string& builder) |
| 142 | { |
| 143 | ObjectLock olock(arr); |
| 144 | |
| 145 | builder += '\5'; |
| 146 | PackUInt64BE(arr->GetLength(), builder); |
| 147 | |
| 148 | for (const Value& value : arr) { |
| 149 | PackAny(value, builder); |
| 150 | } |
| 151 | } |
| 152 | |
| 153 | /** |
| 154 | * Append the given dictionary |
no test coverage detected