code: public int getLength()
    {
      int length = 0;
      
      for (TempBuffer ptr = _head; ptr != null; ptr = ptr.next()) {
        length += ptr.length();
      }
  
      return length;
    }
docs: Returns the total length of the buffer's bytes