Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c49a279c
Commit
c49a279c
authored
Sep 27, 1996
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Nits corrected by Fred
parent
79d37d59
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
6 deletions
+24
-6
Doc/lib/libxdrlib.tex
Doc/lib/libxdrlib.tex
+12
-3
Doc/libxdrlib.tex
Doc/libxdrlib.tex
+12
-3
No files found.
Doc/lib/libxdrlib.tex
View file @
c49a279c
...
@@ -138,6 +138,15 @@ form \code{unpack_\var{type}}, and take no arguments. They return the
...
@@ -138,6 +138,15 @@ form \code{unpack_\var{type}}, and take no arguments. They return the
unpacked object. The same caveats apply for
\code
{
unpack
_
float
}
and
unpacked object. The same caveats apply for
\code
{
unpack
_
float
}
and
\code
{
unpack
_
double
}
as above.
\code
{
unpack
_
double
}
as above.
\begin{funcdesc}
{
unpack
_
float
}{}
Unpacks a single-precision floating point number.
\end{funcdesc}
\begin{funcdesc}
{
unpack
_
double
}{}
Unpacks a double-precision floating point number, similarly to
\code
{
unpack
_
float
}
.
\end{funcdesc}
In addition, the following methods unpack strings, bytes, and opaque
In addition, the following methods unpack strings, bytes, and opaque
data:
data:
...
@@ -152,7 +161,7 @@ Unpacks and returns a fixed length opaque data stream, similarly to
...
@@ -152,7 +161,7 @@ Unpacks and returns a fixed length opaque data stream, similarly to
\code
{
unpack
_
fstring
}
.
\code
{
unpack
_
fstring
}
.
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
pack
_
string
}{}
\begin{funcdesc}
{
un
pack
_
string
}{}
Unpacks and returns a variable length string. The length of the
Unpacks and returns a variable length string. The length of the
string is first unpacked as an unsigned integer, then the string data
string is first unpacked as an unsigned integer, then the string data
is unpacked with
\code
{
unpack
_
fstring
}
.
is unpacked with
\code
{
unpack
_
fstring
}
.
...
@@ -160,12 +169,12 @@ is unpacked with \code{unpack_fstring}.
...
@@ -160,12 +169,12 @@ is unpacked with \code{unpack_fstring}.
\begin{funcdesc}
{
unpack
_
opaque
}{}
\begin{funcdesc}
{
unpack
_
opaque
}{}
Unpacks and returns a variable length opaque data string, similarly to
Unpacks and returns a variable length opaque data string, similarly to
\code
{
pack
_
string
}
.
\code
{
un
pack
_
string
}
.
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
unpack
_
bytes
}{}
\begin{funcdesc}
{
unpack
_
bytes
}{}
Unpacks and returns a variable length byte stream, similarly to
Unpacks and returns a variable length byte stream, similarly to
\code
{
pack
_
string
}
.
\code
{
un
pack
_
string
}
.
\end{funcdesc}
\end{funcdesc}
The following methods support unpacking arrays and lists:
The following methods support unpacking arrays and lists:
...
...
Doc/libxdrlib.tex
View file @
c49a279c
...
@@ -138,6 +138,15 @@ form \code{unpack_\var{type}}, and take no arguments. They return the
...
@@ -138,6 +138,15 @@ form \code{unpack_\var{type}}, and take no arguments. They return the
unpacked object. The same caveats apply for
\code
{
unpack
_
float
}
and
unpacked object. The same caveats apply for
\code
{
unpack
_
float
}
and
\code
{
unpack
_
double
}
as above.
\code
{
unpack
_
double
}
as above.
\begin{funcdesc}
{
unpack
_
float
}{}
Unpacks a single-precision floating point number.
\end{funcdesc}
\begin{funcdesc}
{
unpack
_
double
}{}
Unpacks a double-precision floating point number, similarly to
\code
{
unpack
_
float
}
.
\end{funcdesc}
In addition, the following methods unpack strings, bytes, and opaque
In addition, the following methods unpack strings, bytes, and opaque
data:
data:
...
@@ -152,7 +161,7 @@ Unpacks and returns a fixed length opaque data stream, similarly to
...
@@ -152,7 +161,7 @@ Unpacks and returns a fixed length opaque data stream, similarly to
\code
{
unpack
_
fstring
}
.
\code
{
unpack
_
fstring
}
.
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
pack
_
string
}{}
\begin{funcdesc}
{
un
pack
_
string
}{}
Unpacks and returns a variable length string. The length of the
Unpacks and returns a variable length string. The length of the
string is first unpacked as an unsigned integer, then the string data
string is first unpacked as an unsigned integer, then the string data
is unpacked with
\code
{
unpack
_
fstring
}
.
is unpacked with
\code
{
unpack
_
fstring
}
.
...
@@ -160,12 +169,12 @@ is unpacked with \code{unpack_fstring}.
...
@@ -160,12 +169,12 @@ is unpacked with \code{unpack_fstring}.
\begin{funcdesc}
{
unpack
_
opaque
}{}
\begin{funcdesc}
{
unpack
_
opaque
}{}
Unpacks and returns a variable length opaque data string, similarly to
Unpacks and returns a variable length opaque data string, similarly to
\code
{
pack
_
string
}
.
\code
{
un
pack
_
string
}
.
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
unpack
_
bytes
}{}
\begin{funcdesc}
{
unpack
_
bytes
}{}
Unpacks and returns a variable length byte stream, similarly to
Unpacks and returns a variable length byte stream, similarly to
\code
{
pack
_
string
}
.
\code
{
un
pack
_
string
}
.
\end{funcdesc}
\end{funcdesc}
The following methods support unpacking arrays and lists:
The following methods support unpacking arrays and lists:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment