Bases: oppy.cell.cell.Cell
A container class for representing a variable-length cell.
Build and return the raw byte string this cell represents.
Parameters: | trimmed (bool) – ignored for varlen cells |
---|---|
Returns: | str raw byte string represented by this cell |
Return a two-tuple indicating the start, end positions of this cell’s payload.
Returns: | tuple, int (start, end) positions of this cell’s payload |
---|
Bases: cell.varlen.VarLenCell
Note
tor-spec, Section 4.3
Bases: cell.varlen.VarLenCell
Note
Not Implemented
Bases: cell.varlen.VarLenCell
Note
Not Implemented
Bases: cell.varlen.VarLenCell
Note
tor-spec, Section 4.2
Bases: cell.varlen.VarLenCell
Note
tor-spec, Section 4.1
Construct and return a VersionsCell, using default values where possible.
Automatically create and use an appropriate FixedLenCell.Header.
Parameters: | int versions (list,) – Link Protocol versions to indicate support for in this VersionsCell |
---|---|
Returns: | VersionsCell |
Bases: cell.varlen.VarLenCell
Note
tor-spec, Section 3, 4, 7.2