135136137138139140141142143144145
Dn dn = entry.getDn(); // Write the Rdn of the Dn if ( dn.isEmpty() ) { out.writeByte( 0 ); } else { out.writeByte( 1 ); Rdn rdn = dn.getRdn();
139140141142143144145146147148149
{ out.writeByte( 0 ); } else { out.writeByte( 1 ); Rdn rdn = dn.getRdn(); rdn.writeExternal( out ); } // Then the attributes.
138139140141142143144145146147148
142143144145146147148149150151152
107108109110111112113114115116117
Rdn[] rdns = parentIdAndRdn.getRdns(); // Write the Rdn of the Dn if ( ( rdns == null ) || ( rdns.length == 0 ) ) { out.writeByte( 0 ); } else { out.writeByte( rdns.length );
111112113114115116117118119120121
{ out.writeByte( 0 ); } else { out.writeByte( rdns.length ); for ( Rdn rdn : rdns ) { rdn.writeExternal( out ); }