Documentation ¶
Overview ¶
Package syslinux provides syslinux-compatible ADV data.
Index ¶
Constants ¶
View Source
const ( // AdvSize is the total size. AdvSize = 512 // AdvLen is the usable data size. AdvLen = AdvSize - 3*4 // AdvMagic1 is the head signature. AdvMagic1 = uint32(0x5a2d2fa5) // AdvMagic2 is the total checksum. AdvMagic2 = uint32(0xa3041767) // AdvMagic3 is the tail signature. AdvMagic3 = uint32(0xdd28bf64) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ADV ¶
type ADV []byte
ADV represents the Syslinux Auxiliary Data Vector.
func NewADV ¶
func NewADV(r io.ReadSeeker) (adv ADV, err error)
NewADV returns the Auxiliary Data Vector.
func (ADV) ReadTagBytes ¶
ReadTagBytes reads a tag in the ADV.
Click to show internal directories.
Click to hide internal directories.