Thanks to both Bryan and Todd. Now I can sleep better. :-) On Jan 15, 2010, at 4:17 PM, Bryan Duxbury wrote:
> Simple answer - yes. > > Longer answer - that depends. The actual "order" of the bytes depends on the > protocol you use to serialize. However, so long as you are using the same > protocol in all the languages, then you're completely and utterly safe. > > -Bryan > > On Fri, Jan 15, 2010 at 4:05 PM, Rush Manbert <[email protected]> wrote: > >> Probably a dumb question, but I'm not proud and it's better to be safe than >> sorry. (My Dad always told me that.) >> >> We have found that Thrift is the Swiss Army Knife of software packages, at >> least for what we do. One of the things we are planning to do involves >> serializing objects into a data buffer and never sending them over the wire. >> >> The algorithm we want to use this for depends absolutely on accessing the >> bytes in the serialization buffer in the same order from any language and on >> any platform. When asked whether the Thrift code always writes the >> serialized bytes into memory in the same order, I always answer, "Of course >> they do. The bytes need to be in network byte order." >> >> Here's the question: Am I correct abut this? >> >> Thanks, >> Rush
smime.p7s
Description: S/MIME cryptographic signature
