Documentation
¶
Overview ¶
Package p9trace implements a parser for the Plan 9 File System Traces.
Index ¶
Constants ¶
View Source
const ( TagNull = 0 TagSuper = 1 TagDir = 2 TagInd1 = 3 TagInd2 = 4 TagFile = 5 TagMax = 6 )
View Source
const ( HeaderSize = 35 SuperSize = 16 DirSize = 62 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Record ¶
type Record struct { Tag uint8 // type of block (Tag* constants) Path uint32 // unique file id Addr uint32 // address of block ZSize uint16 // zero-truncated size of data in block WSize uint16 // fast lempel-ziv (wide deflate) compressed DSize uint16 // deflate compressed Score [20]byte // keyed hash of data Super *Super Dir []*Dir Ind []uint32 }
func (*Record) MarshalBinary ¶
func (*Record) UnmarshalBinary ¶
Click to show internal directories.
Click to hide internal directories.