public int createString(ByteBuffer s){
  int length=s.remaining();
  addByte((byte)0);
  startVector(1,length,1);
  bb.position(space-=length);
  bb.put(s);
  return endVector();
}

public int createString ( ByteBuffer s ) { int length = s . remaining ( ) ; addByte ( ( byte ) 0 ) ; startVector ( 1 , length , 1 ) ; bb . position ( space -= length ) ; bb . put ( s ) ; return endVector ( ) ; }
create a string in the buffer from an already encoded utf - 8 string in a bytebuffer .
