| 845 | } |
| 846 | |
| 847 | Result<std::shared_ptr<Buffer>> CreateUnionTypeCodes(int8_t type_code) { |
| 848 | TypedBufferBuilder<int8_t> builder(pool_); |
| 849 | RETURN_NOT_OK(builder.Resize(length_)); |
| 850 | builder.UnsafeAppend(length_, type_code); |
| 851 | return builder.Finish(); |
| 852 | } |
| 853 | |
| 854 | template <typename OffsetType> |
| 855 | Status CreateOffsetsBuffer(OffsetType value_length, std::shared_ptr<Buffer>* out) { |
nothing calls this directly
no test coverage detected