e299a44983
It's no longer needed after the io.GetVarSize() improvement. It's duplicating a lot of EncodeBinary() logic also.
7 lines
172 B
Go
7 lines
172 B
Go
package io
|
|
|
|
// Serializable defines the binary encoding/decoding interface.
|
|
type Serializable interface {
|
|
DecodeBinary(*BinReader) error
|
|
EncodeBinary(*BinWriter) error
|
|
}
|