mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Describe the new Unpacker.get_buffer() method.
This commit is contained in:
parent
75eccc5bcf
commit
102dc417bf
2 changed files with 8 additions and 0 deletions
|
|
@ -127,6 +127,10 @@ Sets the data buffer unpack position to \var{position}. You should be
|
|||
careful about using \code{get_position()} and \code{set_position()}.
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{get_buffer}{}
|
||||
Returns the current unpack data buffer as a string.
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{done}{}
|
||||
Indicates unpack completion. Raises an \code{xdrlib.Error} exception
|
||||
if all of the data has not been unpacked.
|
||||
|
|
|
|||
|
|
@ -127,6 +127,10 @@ Sets the data buffer unpack position to \var{position}. You should be
|
|||
careful about using \code{get_position()} and \code{set_position()}.
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{get_buffer}{}
|
||||
Returns the current unpack data buffer as a string.
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{done}{}
|
||||
Indicates unpack completion. Raises an \code{xdrlib.Error} exception
|
||||
if all of the data has not been unpacked.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue