Subject: Re: q. on reading bytes from "BIDIRECTIONAL-TERMINAL-STREAM"
From: Erik Naggum <erik@naggum.net>
Date: 2000/08/23
Newsgroups: comp.lang.lisp
Message-ID: <3176015533325327@naggum.net>

* Richard James Panturis Giuly <no@spam.com>
| If you know how I can convert a character to an integer that would
| be fine too, I just thought converting every byte might be
| inefficient.

  The function char-code returns the integer code of the character.
  It's essential a type-changing function, as both characters and
  integers are immediate values, and at least in Allegro CL is a
  simple bit-shift operation if you declare the character's type.

#:Erik
-- 
  If this is not what you expected, please alter your expectations.