const SAIAMAG … const AIAFMAG … const AIAMAG … const AIAMAGBIG … const FL_HSZ_BIG … const AR_HSZ_BIG … type bigarFileHeader … type bigarMemberHeader … type Archive … type ArchiveHeader … type Member … type MemberHeader … // OpenArchive opens the named archive using os.Open and prepares it for use // as an AIX big archive. func OpenArchive(name string) (*Archive, error) { … } // Close closes the Archive. // If the Archive was created using NewArchive directly instead of OpenArchive, // Close has no effect. func (a *Archive) Close() error { … } // NewArchive creates a new Archive for accessing an AIX big archive in an underlying reader. func NewArchive(r io.ReaderAt) (*Archive, error) { … } // GetFile returns the XCOFF file defined by member name. // FIXME: This doesn't work if an archive has two members with the same // name which can occur if an archive has both 32-bits and 64-bits files. func (arch *Archive) GetFile(name string) (*File, error) { … }