Versions in this module Expand all Collapse all v1 v1.0.1 May 3, 2025 v1.0.0 May 3, 2025 Changes in this version + const MagicNumber + func ReadInventoryFromFile(filePathSpec string, publicKey ed25519.PublicKey) (*eeinvpb.Inventory, error) + func VerifySignature(content *Content, publicKey ed25519.PublicKey) bool + func WriteInventoryToFile(filePathSpec string, inventory *eeinvpb.Inventory, ...) error + type Content struct + Len uint16 + MagicNumber uint16 + Payload []byte + Signature [64]byte + func NewContent(payload []byte, privateKey ed25519.PrivateKey) (*Content, error) + func Unmarshal(data []byte) (*Content, error) + func (c *Content) Marshal() ([]byte, error) + type EEPROMFile struct + func NewEEPROMFile(spec string) (*EEPROMFile, error) + func (e *EEPROMFile) Close() error + func (e *EEPROMFile) Read() ([]byte, error) + func (e *EEPROMFile) Write(data []byte) error