コード例 #1
0
ファイル: TestContract.cs プロジェクト: zhxymh/AElf
 public override BytesOutput TestBytesState(BytesInput input)
 {
     State.BytesInfo.Value = input.BytesValue.ToByteArray();
     return(new BytesOutput()
     {
         BytesValue = ByteString.CopyFrom(State.BytesInfo.Value)
     });
 }
コード例 #2
0
        public override Empty TestBytesState(BytesInput input)
        {
            State.BytesInfo.Value = input.BytesValue.ToByteArray();

            return(new Empty());
        }