mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-11 15:30:07 +00:00
10 lines
178 B
Go
10 lines
178 B
Go
|
package payload
|
||
|
|
||
|
import "io"
|
||
|
|
||
|
// Payload is anything that can be binary encoded/decoded.
|
||
|
type Payload interface {
|
||
|
EncodeBinary(io.Writer) error
|
||
|
DecodeBinary(io.Reader) error
|
||
|
}
|