decode method

XdrPrice decode (
  1. XdrDataInputStream stream
)

Implementation

static XdrPrice decode(XdrDataInputStream stream) {
  XdrPrice decodedPrice = XdrPrice();
  decodedPrice.n = XdrInt32.decode(stream);
  decodedPrice.d = XdrInt32.decode(stream);
  return decodedPrice;
}