unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Constructing and Manipulating Raw Strings
@ 2010-10-13 12:13 Nordlöw
  2010-10-13 15:53 ` Pascal J. Bourguignon
  0 siblings, 1 reply; 3+ messages in thread
From: Nordlöw @ 2010-10-13 12:13 UTC (permalink / raw)
  To: help-gnu-emacs

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öw


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-10-13 17:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-13 12:13 Constructing and Manipulating Raw Strings Nordlöw
2010-10-13 15:53 ` Pascal J. Bourguignon
2010-10-13 17:23   ` Nordlöw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).