Hi Rui,

On 3 February 2012 17:06, Wang Rui <[email protected]> wrote:
> OutputStream::start() method, we have an attribute written to the binary
> file, that is:
>
>         if ( _useSchemaData )
>         {
>             attributes |= 0x2;  // Record if we use inbuilt schema data or
> not
>             useCompressSource = true;
>         }
>         *this << attributes;
>
> You may set up the integer attribute here to add endian flags and accept it
> in InputStream.cpp. This won't break compatibility with previous versions.
>

Are thinking of just having a bit in the attributes mask designated to
whether the file is big or little endian?

Robert.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to