| 320 | wrapped_decoder_(type, options, trie_cache) {} |
| 321 | |
| 322 | Status Initialize() { |
| 323 | RETURN_NOT_OK(wrapped_decoder_.Initialize()); |
| 324 | for (int i = 0; i < 256; ++i) { |
| 325 | mapping_[i] = i; |
| 326 | } |
| 327 | mapping_[options_.decimal_point] = '.'; |
| 328 | mapping_['.'] = options_.decimal_point; // error out on standard decimal point |
| 329 | temp_.resize(30); |
| 330 | return ValueDecoder::Initialize(); |
| 331 | } |
| 332 | |
| 333 | Status Decode(const uint8_t* data, uint32_t size, bool quoted, value_type* out) { |
| 334 | if (ARROW_PREDICT_FALSE(size > temp_.size())) { |
nothing calls this directly
no test coverage detected