public int getLength()
  {
    int length = 0;
    
    for (TempCharBuffer ptr = _head; ptr != null; ptr = ptr._next) {
      length += ptr.getLength();
    }

    return length;
  }
public int getLength ( ) { int length = 0 ; for ( TempCharBuffer ptr = _head ; ptr != null ; ptr = ptr . _next ) { length += ptr . getLength ( ) ; } return length ; }
Returns the total length of the buffer's bytes