Returns the size of this collection in bytes, i.e. the number of bytes written to ptr.
| 49 | /// Returns the size of this collection in bytes, i.e. the number of bytes written to |
| 50 | /// ptr. |
| 51 | inline int64_t ByteSize(const TupleDescriptor& item_tuple_desc) const { |
| 52 | return static_cast<int64_t>(num_tuples) * item_tuple_desc.byte_size(); |
| 53 | } |
| 54 | |
| 55 | /// For C++/IR interop, we need to be able to look up types by name. |
| 56 | static const char* LLVM_CLASS_NAME; |