DataItem is a txvm plain-data item: bytes, int, or tuple.
| 143 | |
| 144 | // DataItem is a txvm plain-data item: bytes, int, or tuple. |
| 145 | type DataItem struct { |
| 146 | Type DataType `protobuf:"varint,1,opt,name=type,enum=bc.DataType" json:"type,omitempty"` |
| 147 | Bytes []byte `protobuf:"bytes,2,opt,name=bytes,proto3" json:"bytes,omitempty"` |
| 148 | Int int64 `protobuf:"varint,3,opt,name=int" json:"int,omitempty"` |
| 149 | Tuple []*DataItem `protobuf:"bytes,4,rep,name=tuple" json:"tuple,omitempty"` |
| 150 | } |
| 151 | |
| 152 | func (m *DataItem) Reset() { *m = DataItem{} } |
| 153 | func (m *DataItem) String() string { return proto.CompactTextString(m) } |
nothing calls this directly
no outgoing calls
no test coverage detected