Added types for byte-string I/O functions.
This commit is contained in:
parent
3dbbd6d3fc
commit
8c840a2282
|
@ -182,6 +182,7 @@
|
||||||
[gensym (->opt [Sym] Sym)]
|
[gensym (->opt [Sym] Sym)]
|
||||||
[string-append (->* null -String -String)]
|
[string-append (->* null -String -String)]
|
||||||
[open-input-string (-> -String -Input-Port)]
|
[open-input-string (-> -String -Input-Port)]
|
||||||
|
[open-input-bytes (-> -Bytes -Input-Port)]
|
||||||
[open-output-file
|
[open-output-file
|
||||||
(->key -Pathlike
|
(->key -Pathlike
|
||||||
#:mode (one-of/c 'binary 'text) #f
|
#:mode (one-of/c 'binary 'text) #f
|
||||||
|
@ -610,6 +611,7 @@
|
||||||
[byte-ready? (->opt [-Input-Port] B)]
|
[byte-ready? (->opt [-Input-Port] B)]
|
||||||
|
|
||||||
[open-output-string (-> -Output-Port)]
|
[open-output-string (-> -Output-Port)]
|
||||||
|
[open-output-bytes (-> -Output-Port)]
|
||||||
;; FIXME - this is too general
|
;; FIXME - this is too general
|
||||||
[get-output-string (-> -Output-Port -String)]
|
[get-output-string (-> -Output-Port -String)]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user