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