HostAddress : 0x30 LL 0x30 LL hostaddress[1] 0x30 LL hostaddress[1] ... 0x30 LL hostaddress[1]
168169170171172173174175176177178
// Check the encoding ByteBuffer bb = ByteBuffer.allocate( hostAddresses.computeLength() ); try { bb = hostAddresses.encode( bb ); // Check the length assertEquals( 0x44, bb.limit() ); String encodedPdu = Strings.dumpBytes( bb.array() );
167168169170171172173174175176177
117118119120121122123124125126127
// Check the encoding ByteBuffer bb = ByteBuffer.allocate( hostAddresses.computeLength() ); try { bb = hostAddresses.encode( bb ); // Check the length assertEquals( 0x44, bb.limit() ); String encodedPdu = Strings.dumpBytes(bb.array());