Documentation ¶
Index ¶
Constants ¶
View Source
const ( BlockSize int = 4096 AlignSize = 4096 HeadSize = 8 FootSize = 8 BodySize = BlockSize - HeadSize - FootSize )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Block ¶
type Block struct { Version uint8 Type Type Flags Flags Length uint16 Reserved1 uint8 Reserved2 uint8 // Total 64 bits Body []byte Hash uint64 }
func Deserialize ¶
type SerializedTail ¶
type SerializedTail [3][]byte
type Tail ¶
func DeserializeTails ¶
Click to show internal directories.
Click to hide internal directories.