mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-04 15:17:02 +00:00
refactor out binary
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package binary
|
||||
|
||||
import "io"
|
||||
|
||||
type Binary interface {
|
||||
ByteSize() int
|
||||
WriteTo(io.Writer) (int64, error)
|
||||
Equals(Binary) bool
|
||||
}
|
||||
Reference in New Issue
Block a user