mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-25 13:56:35 +00:00
11 lines
195 B
Go
11 lines
195 B
Go
|
package io
|
||
|
|
||
|
import "io"
|
||
|
|
||
|
// Serializable defines the binary encoding/decoding interface.
|
||
|
type Serializable interface {
|
||
|
Size() int
|
||
|
DecodeBinary(io.Reader) error
|
||
|
EncodeBinary(io.Writer) error
|
||
|
}
|