This is the sb-vector-io Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 07:39:06 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
sb-vector-io
Raw vector IO for SBCL.
Nikodemus Siivola <nikodemus@sb-studio.net>
0-clause MIT
package.lisp
(file).
vector-io.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
sb-vector-io/package.lisp
sb-vector-io
(system).
read-vector-data
(compiler macro).
read-vector-data
(generic function).
write-vector-data
(compiler macro).
write-vector-data
(generic function).
*notified*
(special variable).
sb-vector-io/vector-io.lisp
package.lisp
(file).
sb-vector-io
(system).
read-vector-data
(generic function).
write-vector-data
(generic function).
check-stream-element-type
(function).
stream-fd
(generic function).
stream-timeout
(generic function).
vector-element-bytes
(function).
wait-for-vector-write
(function).
Packages are listed by definition order.
vector-io
common-lisp
.
read-vector-data
(compiler macro).
read-vector-data
(generic function).
write-vector-data
(compiler macro).
write-vector-data
(generic function).
*notified*
(special variable).
sb-vector-io
common-lisp
.
read-vector-data
(generic function).
write-vector-data
(generic function).
check-stream-element-type
(function).
stream-fd
(generic function).
stream-timeout
(generic function).
vector-element-bytes
(function).
wait-for-vector-write
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Destructively modifies VECTOR by replacing elements of the subsequence
bounded by START and AND with raw data from STREAM.
VECTOR must have ARRAY-ELEMENT-TYPE of DOUBLE-FLOAT, SINGLE-FLOAT,
(UNSIGNED-BYTE X), or (SIGNED-BYTE X). Floating point values are
read using the IEEE formats, and SIGNED-BYTE and UNSIGNED-BYTE values
are read as raw bytes using the native endianness of the host
platform. FIXNUMs are read in the implementation internal
representation.
Primary return value is the number of elements read.
If element type of VECTOR is other than (UNSIGNED-BYTE 8) or (SIGNED-BYTE 8), and END-OF-FILE occurs before all the requested elements have been read, the last element read may be incomplete. In such a case the secondary return value is the number of bytes missing from the last element – NIL if the last element is complete.
vector
) (stream ansi-stream
) &key start end) ¶Writes elements of the subsequence of VECTOR bounded by START and
END to STREAM.
VECTOR must have ARRAY-ELEMENT-TYPE of FIXNUM, DOUBLE-FLOAT,
SINGLE-FLOAT, (UNSIGNED-BYTE X), or (SIGNED-BYTE X). Floating point
values are written using the IEEE formats, and SIGNED-BYTE and
UNSIGNED-BYTE values are written as raw bytes using the native
endianness of the host platform. FIXNUMs are written in the
implementation internal representation.
STREAM must be a binary output stream.
Returns the number of elements written.
vector
) (stream ansi-stream
) &key start end) ¶Returns the underlying file-descriptor of STREAM in DIRECTION. DIRECTION must be either :INPUT or :OUTPUT.
Returns the underlying timeout of STREAM in DIRECTION. DIRECTION must be either :INPUT or :OUTPUT.
Jump to: | C F G M R S V W |
---|
Jump to: | C F G M R S V W |
---|
Jump to: | *
S |
---|
Index Entry | Section | ||
---|---|---|---|
| |||
* | |||
*notified* : | Private special variables | ||
| |||
S | |||
Special Variable, *notified* : | Private special variables | ||
|
Jump to: | *
S |
---|
Jump to: | F P S V |
---|
Jump to: | F P S V |
---|