@Test public void testEncodeWellKnown() throws IOException { byte[] data = new byte[]{ 0x04, 0x21, 0x0, 0x02, 0x54, 0x0b, 0x14, 0x11 }; XdrLong xLong = new XdrLong(297519060383110161L); try (Xdr xdr = new Xdr(8)) { xdr.beginEncoding(); xLong.xdrEncode(xdr); xdr.endEncoding(); assertArrayEquals(data, xdr.getBytes()); } }
public void xdrEncode(XdrEncodingStream xdr) throws OncRpcException, IOException { xdr.xdrEncodeLong(_value); }
XdrLong implements XdrAble { public void xdrEncode(XdrEncodingStream xdr) throws OncRpcException, IOException { xdr.xdrEncodeLong(_value); } }
XdrLong implements XdrAble { public void xdrEncode(XdrEncodingStream xdr) throws OncRpcException, IOException { xdr.xdrEncodeLong(_value); } XdrLong();  XdrLong(long _value); }
XdrLong implements XdrAble { public void xdrEncode(XdrEncodingStream xdr) throws OncRpcException, IOException { xdr.xdrEncodeLong(_value); } XdrLong();  XdrLong(long _value); long longValue(); void xdrDecode(XdrDecodingStream xdr); void xdrEncode(XdrEncodingStream xdr); }
XdrLong implements XdrAble { public void xdrEncode(XdrEncodingStream xdr) throws OncRpcException, IOException { xdr.xdrEncodeLong(_value); } XdrLong();  XdrLong(long _value); long longValue(); void xdrDecode(XdrDecodingStream xdr); void xdrEncode(XdrEncodingStream xdr);  }