Orbits  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Public Member Functions | Public Attributes | Private Member Functions | List of all members
pip._vendor.html5lib.inputstream.BufferedStream Class Reference
Inheritance diagram for pip._vendor.html5lib.inputstream.BufferedStream:
_object

Public Member Functions

def __init__
 
def tell
 
def seek
 
def read
 

Public Attributes

 stream
 
 buffer
 
 position
 

Private Member Functions

def _bufferedBytes
 
def _readStream
 
def _readFromBuffer
 

Detailed Description

Buffering for streams that do not have buffering of their own

The buffer is implemented as a list of chunks on the assumption that
joining many strings will be slow since it is O(n**2)

Constructor & Destructor Documentation

def pip._vendor.html5lib.inputstream.BufferedStream.__init__ (   self,
  stream 
)

Member Function Documentation

def pip._vendor.html5lib.inputstream.BufferedStream._bufferedBytes (   self)
private
def pip._vendor.html5lib.inputstream.BufferedStream._readFromBuffer (   self,
  bytes 
)
private
def pip._vendor.html5lib.inputstream.BufferedStream._readStream (   self,
  bytes 
)
private
def pip._vendor.html5lib.inputstream.BufferedStream.read (   self,
  bytes 
)
def pip._vendor.html5lib.inputstream.BufferedStream.seek (   self,
  pos 
)
def pip._vendor.html5lib.inputstream.BufferedStream.tell (   self)

Member Data Documentation

pip._vendor.html5lib.inputstream.BufferedStream.buffer
pip._vendor.html5lib.inputstream.BufferedStream.position
pip._vendor.html5lib.inputstream.BufferedStream.stream

The documentation for this class was generated from the following file:

Copyright 2014 Google Inc. All rights reserved.