Clean up and util methods

This commit is contained in:
obscuren
2014-07-26 11:24:44 +02:00
parent 92ffc1cc4c
commit 41bd38147c
7 changed files with 67 additions and 26 deletions

View File

@@ -98,6 +98,7 @@ func Bytes2Hex(d []byte) string {
func Hex2Bytes(str string) []byte {
h, _ := hex.DecodeString(str)
return h
}