encode static method

void encode(
  1. XdrDataOutputStream stream,
  2. XdrAllowTrustOp encodedAllowTrustOp
)

Implementation

static void encode(
    XdrDataOutputStream stream, XdrAllowTrustOp encodedAllowTrustOp) {
  XdrAccountID.encode(stream, encodedAllowTrustOp.trustor);
  XdrAllowTrustOpAsset.encode(stream, encodedAllowTrustOp.asset);
  stream.writeInt(encodedAllowTrustOp.authorize);
}