func LoadVoterData(path string) *msgs.VoterData { data := keys.LoadBytes(path) var voterData msgs.VoterData err := proto.Unmarshal(data, &voterData) if err != nil { panic(err) } return &voterData }
func LoadBytes() []byte { return keys.LoadBytes(Path) }