SaveTo -> WriteTo, Load -> Read

This commit is contained in:
Jae Kwon
2014-05-29 22:02:36 -07:00
parent 60004db2ad
commit 2f1db219fd
5 changed files with 59 additions and 57 deletions

View File

@@ -6,7 +6,7 @@ import (
type Binary interface {
ByteSize() int
SaveTo([]byte) int
WriteTo([]byte) int
Equals(Binary) bool
}