| 259 | } |
| 260 | |
| 261 | bool RowBuilder::SetInt16(uint32_t index, int16_t val) { |
| 262 | if (!Check(index, ::fedb::type::kSmallInt)) return false; |
| 263 | SetField(index); |
| 264 | int8_t* ptr = buf_ + offset_vec_[index]; |
| 265 | *(reinterpret_cast<int16_t*>(ptr)) = val; |
| 266 | return true; |
| 267 | } |
| 268 | |
| 269 | bool RowBuilder::AppendTimestamp(int64_t val) { |
| 270 | if (!SetTimestamp(cnt_, val)) return false; |
nothing calls this directly
no outgoing calls
no test coverage detected