forked from TrueCloudLab/neoneo-go
628656483a
* Fixed TCP read + Uint256 reversed array + started on some core pieces * Disabled some debug output + muted test * 0.5.0
9 lines
178 B
Go
9 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
|
|
}
|