From 8c61831ecc655f1e62041ecc60a3616e71800181 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 19 Apr 2009 17:22:37 +0200 Subject: [PATCH] doc: Add `[su]int-list->bytevector'. * doc/api-r6rs.texi (Bytevectors and Integer Lists): Add `[su]int-list->bytevector'. --- doc/api-r6rs.texi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/api-r6rs.texi b/doc/api-r6rs.texi index dda6fa9..f6fbd2b 100644 --- a/doc/api-r6rs.texi +++ b/doc/api-r6rs.texi @@ -304,6 +304,14 @@ representing the contents of @var{bv}, decoded according to @var{endianness}. @end deffn +@deffn {Scheme Procedure} uint-list->bytevector lst endianness size +@deffnx {Scheme Procedure} sint-list->bytevector lst endianness size +@deffnx {C Function} scm_r6rs_uint_list_to_bytevector (lst, endianness, size) +@deffnx {C Function} scm_r6rs_sint_list_to_bytevector (lst, endianness, size) +Return a new bytevector containing the unsigned (resp. signed) integers +listed in @var{lst} and encoded on @var{size} bytes according to +@var{endianness}. +@end deffn @node Bytevectors as Floats @subsection Interpreting Bytevector Contents as Floating Point Numbers -- 2.11.4.GIT