No subject
Mon Aug 17 06:56:29 UTC 2015
"Exceptional Situations:
Should be prepared to signal an error of type type-error if sequence is not=
a proper sequence. Should signal an error of type type-error if start is n=
ot a non-negative integer. Should signal an error of type type-error if end=
is not a non-negative integer or nil.=20
Might signal an error of type type-error if an element read from the stream=
is not a member of the element type of the sequence."
So basically it doesn't say anything about being restricted to only ascii s=
tream. Only if the types of stream and sequence aren't matching then it cou=
ld signal an error. And Imago is using type '(unsigned-byte 8) for both str=
eam and sequence so it should work in all accounts.
So it would mean that:
read-char reads char
read-byte reads binary
read-sequence reads char and binary
Jyrki
More information about the ecl-devel
mailing list