W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2000

Storage of binary data

From: Ace <Ace@AceProgrammer.com>
Date: Fri, 04 Aug 2000 17:00:53 -0700
Message-ID: <398B5935.583367AC@AceProgrammer.com>
To: www-xml-schema-comments@w3.org
I have a need to use the binary datatype (encrypting some information in
the document).
It seems that I can encode binary data in two formats (mime and hex).
My question is this: How many bits does it take to pass 8 bits of binary
data?

I've no experience with the mime type, so I can't even take a guess.
In the case of hex, since the byte is translated to two hex characters,
does it take 16 or 32 bits (because XML is unicode)?

I know it's a bit esoteric, but I need to justify the performance
characteristics of one method over another.

Thanks,

Nick
Received on Friday, 4 August 2000 20:02:55 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:49:53 UTC