question: public void putLenString ( String s ) { if ( s == null ) { putFieldLength ( 0 ) ; } else { byte [ ] b = s . getBytes ( ) ; ensureCapacity ( 9 + b . length ) ; putFieldLength ( b . length ) ; System . arraycopy ( b , 0 , this . byteBuffer , this . position , b . length ) ; this . position += b . length ; } }
target:  Put a string as a len encoded bytes in the buffer.