| 1877 | } |
| 1878 | |
| 1879 | Status ImportFixedSizeBuffer(int32_t buffer_id, int64_t byte_width) { |
| 1880 | // Compute visible size of buffer |
| 1881 | int64_t buffer_size = (c_struct_->length > 0) |
| 1882 | ? byte_width * (c_struct_->length + c_struct_->offset) |
| 1883 | : 0; |
| 1884 | return ImportBuffer(buffer_id, buffer_size); |
| 1885 | } |
| 1886 | |
| 1887 | template <typename OffsetType, bool with_extra_offset = true> |
| 1888 | Status ImportOffsetsBuffer(int32_t buffer_id) { |
nothing calls this directly
no test coverage detected