Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3f247ad

Browse files
committed
Nits corrected by Fred
1 parent 3c602d7 commit 3f247ad

2 files changed

Lines changed: 24 additions & 6 deletions

File tree

Doc/lib/libxdrlib.tex

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,15 @@ \subsection{Unpacker Objects}
138138
unpacked 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+
141150
In addition, the following methods unpack strings, bytes, and opaque
142151
data:
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}{}
156165
Unpacks and returns a variable length string. The length of the
157166
string is first unpacked as an unsigned integer, then the string data
158167
is unpacked with \code{unpack_fstring}.
159168
\end{funcdesc}
160169

161170
\begin{funcdesc}{unpack_opaque}{}
162171
Unpacks 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}{}
167176
Unpacks and returns a variable length byte stream, similarly to
168-
\code{pack_string}.
177+
\code{unpack_string}.
169178
\end{funcdesc}
170179

171180
The following methods support unpacking arrays and lists:

Doc/libxdrlib.tex

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,15 @@ \subsection{Unpacker Objects}
138138
unpacked 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+
141150
In addition, the following methods unpack strings, bytes, and opaque
142151
data:
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}{}
156165
Unpacks and returns a variable length string. The length of the
157166
string is first unpacked as an unsigned integer, then the string data
158167
is unpacked with \code{unpack_fstring}.
159168
\end{funcdesc}
160169

161170
\begin{funcdesc}{unpack_opaque}{}
162171
Unpacks 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}{}
167176
Unpacks and returns a variable length byte stream, similarly to
168-
\code{pack_string}.
177+
\code{unpack_string}.
169178
\end{funcdesc}
170179

171180
The following methods support unpacking arrays and lists:

0 commit comments

Comments
 (0)