In mina trunk, the javadoc of class ByteBuffer has an example like:

 String greeting = messageBundle.getMessage( "hello" );
 ByteBuffer buf = ByteBuffer.allocate( 16 );
 // Turn on autoExpand (it is off by default)
 buf.setAutoExpand( true );
 buf.putString( greeting, utf8encoder );

However the method putString doesn't accept param of type String.

Did I missing anything?

-- 
View this message in context: 
http://www.nabble.com/javadoc-inconsistency-in-ByteBuffer-tf3381147.html#a9410910
Sent from the mina dev mailing list archive at Nabble.com.

Reply via email to