github.com/code-to-go/safepool.lib@v0.0.0-20221205180519-ee25e63c226e/data/index.go (about)

     1  package data
     2  
     3  const BlockSize = 500
     4  
     5  type RootItem struct {
     6  	Crc   uint32
     7  	Index uint32
     8  }
     9  
    10  type Root struct {
    11  	Version uint16
    12  	Items   [BlockSize]RootItem
    13  }
    14  
    15  type Entry struct {
    16  }
    17  
    18  type BlockItem struct {
    19  	Crc uint32
    20  }
    21  
    22  type Block struct {
    23  }
    24  
    25  func test() {
    26  
    27  }