@Test public void testEncodeWellKnown() throws IOException { byte[] data = new byte[] { 0x0, 0x0, 0x0, 0x11 }; XdrInt xInt = new XdrInt(17); try (Xdr xdr = new Xdr(8)) { xdr.beginEncoding(); xInt.xdrEncode(xdr); xdr.endEncoding(); assertArrayEquals(data, xdr.getBytes()); } }
public void xdrEncode(XdrEncodingStream xdr) throws OncRpcException, IOException { xdr.xdrEncodeInt(_value); }
XdrInt implements XdrAble { public void xdrEncode(XdrEncodingStream xdr) throws OncRpcException, IOException { xdr.xdrEncodeInt(_value); } }
XdrInt implements XdrAble { public void xdrEncode(XdrEncodingStream xdr) throws OncRpcException, IOException { xdr.xdrEncodeInt(_value); } XdrInt();  XdrInt(int value); }
XdrInt implements XdrAble { public void xdrEncode(XdrEncodingStream xdr) throws OncRpcException, IOException { xdr.xdrEncodeInt(_value); } XdrInt();  XdrInt(int value); int intValue(); void xdrDecode(XdrDecodingStream xdr); void xdrEncode(XdrEncodingStream xdr); }
XdrInt implements XdrAble { public void xdrEncode(XdrEncodingStream xdr) throws OncRpcException, IOException { xdr.xdrEncodeInt(_value); } XdrInt();  XdrInt(int value); int intValue(); void xdrDecode(XdrDecodingStream xdr); void xdrEncode(XdrEncodingStream xdr);  }