[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] Alignment in AMF data
From: |
strk |
Subject: |
Re: [Gnash-dev] Alignment in AMF data |
Date: |
Sat, 25 Oct 2008 23:48:26 +0200 |
On Sat, Oct 25, 2008 at 01:56:45PM -0700, Bastiaan Jacques wrote:
> An interface that would solve the problem could look like this:
>
> template <typename T, size_t N>
> T
> networkConvert(boost::uint8_t* word);
[..]
> double number = networkConvert<double, 8>(stream);
I like the easy-to-remember names we already have:
- readNetworkShort
- readNetworkLong
Of course we miss:
- readNetworkDouble
Fine for me to have that template,
I'm more concerned about where we'd have these
(as I can always add the three above as inlines)
I think we're deprecating using utility.h for these
kind of things right ?
--strk;
- Re: [Gnash-dev] Alignment in AMF data, (continued)
- Re: [Gnash-dev] Alignment in AMF data, strk, 2008/10/24
- Re: [Gnash-dev] Alignment in AMF data, Rob Savoye, 2008/10/24
- Re: [Gnash-dev] Alignment in AMF data, strk, 2008/10/24
- Re: [Gnash-dev] Alignment in AMF data, Rob Savoye, 2008/10/24
- Re: [Gnash-dev] Alignment in AMF data, Justin Dick, 2008/10/24
Re: [Gnash-dev] Alignment in AMF data, Rob Savoye, 2008/10/24
Re: [Gnash-dev] Alignment in AMF data, strk, 2008/10/24
Re: [Gnash-dev] Alignment in AMF data, zou lunkai, 2008/10/24