Versions in this module Expand all Collapse all v0 v0.1.8 Apr 12, 2023 v0.1.7 Apr 12, 2023 v0.1.6 Apr 12, 2023 v0.1.5 Apr 12, 2023 Changes in this version + func ParseRecovery(s *Structure, err *error) + func ReadStructures() (*EntryPoint, []*Structure, error) + func U16(data []byte) uint16 + func U32(data []byte) uint32 + func U64(data []byte) uint64 + type EntryPoint struct + Address int + Major int + Minor int + Revision int + Size int + func NewEntryPoint(major, minor, rev, addr, size int) *EntryPoint + type Header struct + Handle uint16 + Length uint8 + Type uint8 + func (h *Header) String() string + type Structure struct + Formatted []byte + Header Header + Strings []string + func (s *Structure) DataLength() int + func (s *Structure) FormattedCount() int + func (s *Structure) GetByte(index int) byte + func (s *Structure) GetBytes(start, end int) []byte + func (s *Structure) GetString(offset int) string + func (s *Structure) IsOverFlow(index int) bool + func (s *Structure) String() string + func (s *Structure) Type() uint8 + func (s *Structure) U16(start, end int) uint16 + func (s *Structure) U32(start, end int) uint32 + func (s *Structure) U64(start, end int) uint64 + type StructureType byte + const AdditionalInformation + const BIOS + const BIOSLanguage + const BaseBoard + const Bit32MemoryError + const Bit64MemoryError + const BootIntegrityServices + const BuiltInPointingDevice + const Cache + const Chassis + const Controller + const CoolingDevice + const ElectricalCurrentProbe + const EndOfTable + const GroupAssociations + const HardwareSecurity + const IPMIDevice + const Inactive + const ManagementControllerHostInterface + const ManagementDevice + const ManagementDeviceComponent + const ManagementDeviceThresholdData + const MemoryArrayMappedAddress + const MemoryChannel + const MemoryDevice + const MemoryDeviceMappedAddress + const Module + const OEMStrings + const OnBoardDevices + const OnBoardDevicesExtendedInformation + const OutOfBandRemoteAccess + const PhysicalMemoryArray + const PortConnector + const PortableBattery + const PowerSupply + const Processor + const System + const SystemBoot + const SystemConfigurationOptions + const SystemEventLog + const SystemPowerControls + const SystemReset + const SystemSlots + const TemperatureProbe + const VoltageProbe + func (b StructureType) String() string