| 1085 | } |
| 1086 | |
| 1087 | std::string readLengthPrefixedString(ByteInputStream* source) { |
| 1088 | int32_t size = source->read<int32_t>(); |
| 1089 | std::string value; |
| 1090 | value.resize(size); |
| 1091 | source->readBytes(&value[0], size); |
| 1092 | return value; |
| 1093 | } |
| 1094 | |
| 1095 | void checkTypeEncoding(std::string_view encoding, const TypePtr& type) { |
| 1096 | const auto kindEncoding = typeToEncodingName(type); |
no test coverage detected