(tables: Vec<Self>)
| 469 | } |
| 470 | |
| 471 | pub fn new_from_tables(tables: Vec<Self>) -> Self { |
| 472 | let mut data = Vec::new(); |
| 473 | for table in tables { |
| 474 | data.extend(table.data); |
| 475 | } |
| 476 | Self { data } |
| 477 | } |
| 478 | |
| 479 | /// Returns the effective size in bytes. |
| 480 | pub fn effective_size(&self) -> u64 { |