Part of twisted.web2.stream View Source View In Hierarchy
Method | __init__ | Undocumented |
Method | _readUntil | Internal helper function which repeatedly calls f each time |
Method | readExactly | Read exactly size bytes of data, or, if size is None, read |
Method | readline | Read a line of data from the string, bounded by |
Method | pushback | Push data back into the buffer. |
Method | read | Undocumented |
Method | _len | Undocumented |
Method | split | Undocumented |
Read a line of data from the string, bounded by delimiter. The delimiter is included in the return value.
If size is specified, read and return at most that many bytes, even if the delimiter has not yet been reached. If the size limit falls within a delimiter, the rest of the delimiter, and the next line will be returned together.