- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for parseMagic (0.07 sec)
-
src/debug/plan9obj/file.go
// Close has no effect. func (f *File) Close() error { var err error if f.closer != nil { err = f.closer.Close() f.closer = nil } return err } func parseMagic(magic []byte) (uint32, error) { m := binary.BigEndian.Uint32(magic) switch m { case Magic386, MagicAMD64, MagicARM: return m, nil } return 0, &formatError{0, "bad magic number", magic} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 7.2K bytes - Viewed (0)