mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-01-02 11:33:49 +00:00
11 lines
197 B
Go
11 lines
197 B
Go
|
package transaction
|
||
|
|
||
|
import "io"
|
||
|
|
||
|
//TXer is interface that can act as the underlying data of
|
||
|
// a transaction.
|
||
|
type TXer interface {
|
||
|
DecodeBinary(io.Reader) error
|
||
|
EncodeBinary(io.Writer) error
|
||
|
}
|