Documentation ¶ Index ¶ type Program func (p *Program) Deserialize(w io.Reader) error func (p *Program) Serialize(w io.Writer) error func (self Program) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Program ¶ type Program struct { //the contract program code,which will be run on VM or specific envrionment Code []byte //the program code's parameter Parameter []byte } func (*Program) Deserialize ¶ func (p *Program) Deserialize(w io.Reader) error Deserialize the Program func (*Program) Serialize ¶ func (p *Program) Serialize(w io.Writer) error Serialize the Program func (Program) String ¶ func (self Program) String() string Source Files ¶ View all Source files Program.go Click to show internal directories. Click to hide internal directories.