public CharBuffer(String string,int offset,int length){
  int capacity=Math.max(length,MIN_CAPACITY);
  init(new char[capacity],0,length);
  string.getChars(offset,length,buffer(),0);
}

public CharBuffer ( String string , int offset , int length ) { int capacity = Math . max ( length , MIN_CAPACITY ) ; init ( new char [ capacity ] , 0 , length ) ; string . getChars ( offset , length , buffer ( ) , 0 ) ; }
constructs a char buffer with the given initial string
