From: Barry Warsaw Date: Wed, 4 Dec 1996 22:05:42 +0000 (+0000) Subject: Describe the new Unpacker.get_buffer() method. X-Git-Tag: v1.5a1~897 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=102dc417bf14a1e8e0cb4df51acc1c1de48669c5;p=thirdparty%2FPython%2Fcpython.git Describe the new Unpacker.get_buffer() method. --- diff --git a/Doc/lib/libxdrlib.tex b/Doc/lib/libxdrlib.tex index 6b44cb0e4404..e0ed02935311 100644 --- a/Doc/lib/libxdrlib.tex +++ b/Doc/lib/libxdrlib.tex @@ -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. diff --git a/Doc/libxdrlib.tex b/Doc/libxdrlib.tex index 6b44cb0e4404..e0ed02935311 100644 --- a/Doc/libxdrlib.tex +++ b/Doc/libxdrlib.tex @@ -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.