Skip to content

Indexed Database Format

brett19 edited this page Oct 11, 2014 · 11 revisions

Base Format

#header {
  uint32 row_count
  uint32 column_count
  for(i = 0; i < row_count; ++i) {
    uint32 data_offset // -1 indicates empty row
  }
  for(i = 0; i < column_count; ++i) {
    uint32 type
  }
  for(i = 0; i < column_count; ++i) {
    uint16str name
  }
}
#data {
  for() {
    uint32 column_flags[column_count/32];
    for (j = 0; j < column_count; ++j) {
      int32 | uint32 cell_data
    }
  }
}

Clone this wiki locally