From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Nordl=F6w?= Newsgroups: gmane.emacs.help Subject: Constructing and Manipulating Raw Strings Date: Wed, 13 Oct 2010 05:13:09 -0700 (PDT) Organization: http://groups.google.com Message-ID: <1bef9c40-265a-4519-bf4a-a4ca443cab15@n40g2000vbb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1291881728 23113 80.91.229.12 (9 Dec 2010 08:02:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 08:02:08 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 09:02:04 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQbS0-0000G2-4E for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 09:02:04 +0100 Original-Received: from localhost ([127.0.0.1]:51739 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQbRy-0008Px-Gg for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 03:02:02 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!n40g2000vbb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Original-NNTP-Posting-Host: 150.227.15.253 Original-X-Trace: posting.google.com 1286971989 27959 127.0.0.1 (13 Oct 2010 12:13:09 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 13 Oct 2010 12:13:09 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: n40g2000vbb.googlegroups.com; posting-host=150.227.15.253; posting-account=ytJKAgoAAAA1tg4ScoRszebXiIldA5vg User-Agent: G2/1.0 X-HTTP-Via: 1.1 ip1-w.foi.se:8080 (IronPort-WSA/6.3.5-015) X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Ubuntu/10.10 Chromium/8.0.551.0 Chrome/8.0.551.0 Safari/534.10, gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:181752 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:76854 Archived-At: What is the best way to extract the individual bytes from hexadecimal string (output from md5) and using them as input into a call to unibyte-string()? I want to use this raw string as a key in a hash table for file types and then I don't want to waste space (size halves if we go from a hexadecimal string to a raw byte string). Does read() (or some of its variants) support reading raw unibyte strings (that may contain zero bytes). Thanks in advance, Per Nordl=F6w