| 1886 | |
| 1887 | template <typename OffsetType, bool with_extra_offset = true> |
| 1888 | Status ImportOffsetsBuffer(int32_t buffer_id) { |
| 1889 | // Compute visible size of buffer |
| 1890 | int64_t buffer_size = sizeof(OffsetType) * (c_struct_->length + c_struct_->offset + |
| 1891 | (with_extra_offset ? 1 : 0)); |
| 1892 | return ImportBuffer(buffer_id, buffer_size); |
| 1893 | } |
| 1894 | |
| 1895 | template <typename OffsetType> |
| 1896 | Status ImportSizesBuffer(int32_t buffer_id) { |
nothing calls this directly
no test coverage detected