예제 #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());
        }