| 301 | } |
| 302 | |
| 303 | bool RowBuilder::SetFloat(uint32_t index, float val) { |
| 304 | if (!Check(index, ::fedb::type::kFloat)) return false; |
| 305 | SetField(index); |
| 306 | int8_t* ptr = buf_ + offset_vec_[index]; |
| 307 | *(reinterpret_cast<float*>(ptr)) = val; |
| 308 | return true; |
| 309 | } |
| 310 | |
| 311 | bool RowBuilder::AppendDouble(double val) { |
| 312 | if (!SetDouble(cnt_, val)) return false; |
nothing calls this directly
no outgoing calls
no test coverage detected