On Wednesday 16 November 2005 23:27, Jean T. Anderson wrote: > > > When you output numeric values to a file, what is its raw representation? > > Is an int an int or the byte code representation of the int? > > I'm going to have to call on the Java and Derby internals experts to > answer how values get physically stored in the files that make up a > Derby database. > Actually I found the answer...
Assuming that you're using something like a DataOutputStream(), using the writeInt method, you're always going to write high byte first. Which would explain why its portable. -- Michael Segel Principal MSCC
