Next: iklib conditions string utf32, Previous: iklib conditions string utf8, Up: iklib conditions string [Index]
Condition object type representing an error while encoding a string into
a UTF-16 bytevector; it is derived from &string-encoding
.
Build and return a new condition object of type
&utf16-string-encoding
.
Return #t
if obj is a condition object of type
&utf16-string-encoding
; otherwise return #f
.
Condition object type representing an error while decoding a UTF-16
bytevector into a string; it is derived from
&string-decoding
.
Build and return a new condition object of type
&utf16-string-decoding
.
Return #t
if obj is a condition object of type
&utf16-string-decoding
; otherwise return #f
.
Condition object type representing an invalid 16-bit word in the
position of standalone word or first word of a surrogate pair; it is
derived from &utf16-string-decoding
. It has the following
fields:
bytevector
The bytevector object.
index
The index of the offending word.
word
The offending word.
Build and return a new condition object of type
&utf16-string-decoding-invalid-first-word
.
Return #t
if obj is a condition object of type
&utf16-string-decoding-invalid-first-word
; otherwise return
#f
.
Field accessors for condition objects of type
&utf16-string-decoding-invalid-first-word
.
Condition object type representing an invalid 16-bit word in the
position of second word of a surrogate pair; it is derived from
&utf16-string-decoding
. It has the following fields:
bytevector
The bytevector object.
index
The index of the offending second word.
first-word
The correct first word.
second-word
The offending second word.
Build and return a new condition object of type
&utf16-string-decoding-invalid-second-word
.
Return #t
if obj is a condition object of type
&utf16-string-decoding-invalid-second-word
; otherwise return
#f
.
Field accessors for condition objects of type
&utf16-string-decoding-invalid-second-word
.
Condition object type representing a missing 16-bit word in the position
of second word of a surrogate pair; it is derived from
&utf16-string-decoding
. It has the following fields:
bytevector
The bytevector object.
index
The index of the correct first word.
word
The correct first word.
Build and return a new condition object of type
&utf16-string-decoding-missing-second-word
.
Return #t
if obj is a condition object of type
&utf16-string-decoding-missing-second-word
; otherwise return
#f
.
Field accessors for condition objects of type
&utf16-string-decoding-missing-second-word
.
Condition object type representing a standalone octet at the end of the
byte vector; it is derived from &utf16-string-decoding
. It
has the following fields:
bytevector
The bytevector object.
index
The index of the octet.
octet
The offending octet.
Build and return a new condition object of type
&utf16-string-decoding-standalone-octet
.
Return #t
if obj is a condition object of type
&utf16-string-decoding-standalone-octet
; otherwise return
#f
.
Field accessors for condition objects of type
&utf16-string-decoding-standalone-octet
.
Next: iklib conditions string utf32, Previous: iklib conditions string utf8, Up: iklib conditions string [Index]