neoneo-go/pkg/core/transaction/txer.go

12 lines
210 B
Go
Raw Normal View History

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
Size() int
}