bytes-utf-8-length: fix result contract in docs
This commit is contained in:
parent
58dfcee14a
commit
1ca8b6d533
|
@ -344,7 +344,7 @@ For communication among @tech{places}, the new byte string is allocated in the
|
|||
[err-char (or/c #f char?) #f]
|
||||
[start exact-nonnegative-integer? 0]
|
||||
[end exact-nonnegative-integer? (bytes-length bstr)])
|
||||
exact-nonnegative-integer?]{
|
||||
(or/c exact-nonnegative-integer? #f)]{
|
||||
Returns the length in characters of the UTF-8 decoding of
|
||||
@racket[bstr]'s substring from @racket[start] to @racket[end], but without
|
||||
actually generating the decoded characters. If @racket[err-char] is
|
||||
|
|
Loading…
Reference in New Issue
Block a user