HostAddress : 0x30 LL 0xA0 LL 0x02 0x01 addr-type 0xA1 LL 0x04 LL address
110111112113114115116117118119120
// Check the encoding ByteBuffer bb = ByteBuffer.allocate( hostAddress.computeLength() ); try { bb = hostAddress.encode( bb ); // Check the length assertEquals( 0x16, bb.limit() ); String encodedPdu = Strings.dumpBytes( bb.array() );
109110111112113114115116117118119
949596979899100101102103104
// Check the encoding ByteBuffer bb = ByteBuffer.allocate( hostAddress.computeLength() ); try { bb = hostAddress.encode( bb ); // Check the length assertEquals( 0x16, bb.limit() ); String encodedPdu = Strings.dumpBytes(bb.array());