Updating comment describing data type

master
Frederick F. Kautz IV 10 years ago
parent 58a04ee831
commit d3d1205eb1
  1. 8
      pkg/storage/donut/v1/donut.go

@ -35,11 +35,13 @@ import (
VersionPatch uint16 VersionPatch uint16
VersionReserved uint16 VersionReserved uint16
Reserved uint64 Reserved uint64
GobHeaderLen uint32 DataLen uint64
GobHeader io.Reader // matches length HeaderCrc32c uint32
BlockData [4]byte // Magic="DATA"=1096040772 BlockData [4]byte // Magic="DATA"=1096040772
Data io.Reader // matches length Data io.Reader // matches length
BlockLen uint64 // length to block start HeaderCrc32c uint32
DataSha512 [64]byte
BlockLen uint64 // length of entire frame, inclusive of MINI and INIM
BlockEnd [4]byte // Magic="INIM"=1296649801 BlockEnd [4]byte // Magic="INIM"=1296649801
*/ */

Loading…
Cancel
Save