title: How to convert a char array containing double value to double variable, WITHOUT creating overhead of String object?
body: <p>My question is in line with <a href="https://stackoverflow.com/questions/23026392/how-to-convert-a-char-array-containing-double-value-to-double-variable">this one</a>, but I need to do this without creating any overhead.</p>
  
  <p>The native <code>parseDouble()</code> in java takes in a string, but my situation gives me a buffer of raw memory I can access via <code>buf.getByte(int position)</code>. Since my use case processes hundreds of thousands of such doubles at a time, it is clunky and slow to create a new String for each one.</p>
  
  <p>Therefore, I need a way to go from the byte representation of a double (buffer holding chars/bytes representing {'1' '1' '.' '1'} for 11.1) to a Double, without creating additional objects on the heap while doing so.</p>
  
  <p>Any help would be appreciated! Thank you.</p>