| 228 | string_converter_(MakeStringConverter<T>(options)) {} |
| 229 | |
| 230 | Status Decode(const uint8_t* data, uint32_t size, bool quoted, value_type* out) { |
| 231 | // XXX should quoted values be allowed at all? |
| 232 | TrimWhiteSpace(&data, &size); |
| 233 | if (ARROW_PREDICT_FALSE(!string_converter_.Convert( |
| 234 | concrete_type_, reinterpret_cast<const char*>(data), size, out))) { |
| 235 | return GenericConversionError(type_, data, size); |
| 236 | } |
| 237 | return Status::OK(); |
| 238 | } |
| 239 | |
| 240 | protected: |
| 241 | const T& concrete_type_; |
nothing calls this directly
no test coverage detected