| 49 | } |
| 50 | |
| 51 | inline BinaryViewType::c_type ToBinaryView(const void* data, int32_t size, |
| 52 | int32_t buffer_index, int32_t offset) { |
| 53 | if (size <= BinaryViewType::kInlineSize) { |
| 54 | return ToInlineBinaryView(data, size); |
| 55 | } |
| 56 | return ToNonInlineBinaryView(data, size, buffer_index, offset); |
| 57 | } |
| 58 | |
| 59 | inline BinaryViewType::c_type ToBinaryView(std::string_view v, int32_t buffer_index, |
| 60 | int32_t offset) { |