public static String toString(ByteBuffer buffer,Charset charset){
  return toString(buffer,buffer.remaining(),charset);
}

public static String toString ( ByteBuffer buffer , Charset charset ) { return toString ( buffer , buffer . remaining ( ) , charset ) ; }
return the result of decoding the remaining contents of the provided bytebuffer . the buffer ' s position will not be modified .
