mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-12 12:51:22 +00:00
refactor out binary
This commit is contained in:
9
binary/binary.go
Normal file
9
binary/binary.go
Normal file
@ -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