File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -138,6 +138,15 @@ \subsection{Unpacker Objects}
138138unpacked object. The same caveats apply for \code {unpack_float} and
139139\code {unpack_double} as above.
140140
141+ \begin {funcdesc }{unpack_float}{}
142+ Unpacks a single-precision floating point number.
143+ \end {funcdesc }
144+
145+ \begin {funcdesc }{unpack_double}{}
146+ Unpacks a double-precision floating point number, similarly to
147+ \code {unpack_float}.
148+ \end {funcdesc }
149+
141150In addition, the following methods unpack strings, bytes, and opaque
142151data:
143152
@@ -152,20 +161,20 @@ \subsection{Unpacker Objects}
152161\code {unpack_fstring}.
153162\end {funcdesc }
154163
155- \begin {funcdesc }{pack_string }{}
164+ \begin {funcdesc }{unpack_string }{}
156165Unpacks and returns a variable length string. The length of the
157166string is first unpacked as an unsigned integer, then the string data
158167is unpacked with \code {unpack_fstring}.
159168\end {funcdesc }
160169
161170\begin {funcdesc }{unpack_opaque}{}
162171Unpacks and returns a variable length opaque data string, similarly to
163- \code {pack_string }.
172+ \code {unpack_string }.
164173\end {funcdesc }
165174
166175\begin {funcdesc }{unpack_bytes}{}
167176Unpacks and returns a variable length byte stream, similarly to
168- \code {pack_string }.
177+ \code {unpack_string }.
169178\end {funcdesc }
170179
171180The following methods support unpacking arrays and lists:
Original file line number Diff line number Diff line change @@ -138,6 +138,15 @@ \subsection{Unpacker Objects}
138138unpacked object. The same caveats apply for \code {unpack_float} and
139139\code {unpack_double} as above.
140140
141+ \begin {funcdesc }{unpack_float}{}
142+ Unpacks a single-precision floating point number.
143+ \end {funcdesc }
144+
145+ \begin {funcdesc }{unpack_double}{}
146+ Unpacks a double-precision floating point number, similarly to
147+ \code {unpack_float}.
148+ \end {funcdesc }
149+
141150In addition, the following methods unpack strings, bytes, and opaque
142151data:
143152
@@ -152,20 +161,20 @@ \subsection{Unpacker Objects}
152161\code {unpack_fstring}.
153162\end {funcdesc }
154163
155- \begin {funcdesc }{pack_string }{}
164+ \begin {funcdesc }{unpack_string }{}
156165Unpacks and returns a variable length string. The length of the
157166string is first unpacked as an unsigned integer, then the string data
158167is unpacked with \code {unpack_fstring}.
159168\end {funcdesc }
160169
161170\begin {funcdesc }{unpack_opaque}{}
162171Unpacks and returns a variable length opaque data string, similarly to
163- \code {pack_string }.
172+ \code {unpack_string }.
164173\end {funcdesc }
165174
166175\begin {funcdesc }{unpack_bytes}{}
167176Unpacks and returns a variable length byte stream, similarly to
168- \code {pack_string }.
177+ \code {unpack_string }.
169178\end {funcdesc }
170179
171180The following methods support unpacking arrays and lists:
You can’t perform that action at this time.
0 commit comments