[prev] 60 [next]

Variable-length Records

Some encoding schemes for variable-length records:
  • Prefix each field by length

    [Diagram:Pics/storage/rec1.png]

  • Terminate fields by delimiter

    [Diagram:Pics/storage/rec2.png]

  • Array of offsets

    [Diagram:Pics/storage/rec3.png]