120121122123124125126127128129130
// Check the encoding ByteBuffer bb = ByteBuffer.allocate( typedData.computeLength() ); try { bb = typedData.encode( bb ); // Check the length assertEquals( 0x21, bb.limit() ); String encodedPdu = Strings.dumpBytes( bb.array() );
9899100101102103104105106107108
// Check the encoding ByteBuffer bb = ByteBuffer.allocate( typedData.computeLength() ); try { bb = typedData.encode( bb ); // Check the length assertEquals( 0x21, bb.limit() ); String encodedPdu = Strings.dumpBytes(bb.array());