code: func DecodeToMacIface(buf *bytes.Buffer) (MacIface, error) {
  	var entry MacIface
  	decoder := gob.NewDecoder(buf)
  	err := decoder.Decode(&entry)
  	return entry, err
  }
docs: // DecodeToMacIface takes a byte buffer and converts decodes it using the gob
  // package to a MacIface entry.