ReceiveDescription.deserialize constructor

ReceiveDescription.deserialize(
  1. List<int> bytes
)

Implementation

factory ReceiveDescription.deserialize(List<int> bytes) {
  final decode = TronProtocolBufferImpl.decode(bytes);
  return ReceiveDescription(
      valueCommitment: decode.getField(1),
      noteCommitment: decode.getField(2),
      epk: decode.getField(3),
      cEnc: decode.getField(4),
      cOut: decode.getField(5),
      zkproof: decode.getField(6));
}