diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:27 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:27 -0800 |
commit | fa3f23105ddcf07c5900de47f19af43d1db1b597 (patch) | |
tree | b2c6cce6b97698098f50cbc78c23fdc0f8d401ab /byte.scm | |
parent | f24b9140d6f74804d5599ec225717d38ca443813 (diff) | |
download | slib-fa3f23105ddcf07c5900de47f19af43d1db1b597.tar.gz slib-fa3f23105ddcf07c5900de47f19af43d1db1b597.zip |
Import Upstream version 2c3upstream/2c3
Diffstat (limited to 'byte.scm')
-rw-r--r-- | byte.scm | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -5,6 +5,7 @@ (define (make-bytes len . opt) (if (null? opt) (make-string len) (make-string len (integer->char (car opt))))) +(define bytes-length string-length) (define (write-byte byt . opt) (apply write-char (integer->char byt) opt)) (define (read-byte . opt) (let ((c (apply read-char opt))) |