| 681 | } |
| 682 | |
| 683 | std::span<const std::shared_ptr<Buffer>> ArraySpan::GetVariadicBuffers() const { |
| 684 | DCHECK(HasVariadicBuffers()); |
| 685 | return {buffers[2].data_as<std::shared_ptr<Buffer>>(), |
| 686 | static_cast<size_t>(buffers[2].size) / sizeof(std::shared_ptr<Buffer>)}; |
| 687 | } |
| 688 | |
| 689 | bool ArraySpan::HasVariadicBuffers() const { |
| 690 | return type->id() == Type::BINARY_VIEW || type->id() == Type::STRING_VIEW; |
no outgoing calls
no test coverage detected