| 1069 | |
| 1070 | namespace internal { |
| 1071 | Status CheckBufferLength(const FixedSizeBinaryType* t, const std::shared_ptr<Buffer>* b) { |
| 1072 | return t->byte_width() == (*b)->size() |
| 1073 | ? Status::OK() |
| 1074 | : Status::Invalid("buffer length ", (*b)->size(), " is not compatible with ", |
| 1075 | *t); |
| 1076 | } |
| 1077 | } // namespace internal |
| 1078 | |
| 1079 | namespace { |
nothing calls this directly
no test coverage detected