chickadee » charconv » read-encoded-string

read-encoded-string ENC #!optional N PORTprocedure

An analog of string using byte-count (not character count). May read additional bytes to ensure you read along a character boundary. If you really want exactly N bytes regardless of character boundaries, you should combine read-string with ces-convert below.