Added encoder interface

pull/150/head
obscuren 11 years ago
parent 3520771d68
commit c642094cac
  1. 4
      ethutil/rlp.go

@ -9,6 +9,10 @@ import (
"math/big" "math/big"
) )
type RlpEncodable interface {
RlpEncode() []byte
}
type RlpEncoder struct { type RlpEncoder struct {
rlpData []byte rlpData []byte
} }

Loading…
Cancel
Save