int tz = buf.getInt();
int sigfigs = buf.getInt();
int snaplen = buf.getInt();
int network = buf.getInt();
globalHeader = new GlobalHeader(magic, major, minor, tz, sigfigs, snaplen, network);
if (globalHeader.getMagicNumber() == 0xD4C3B2A1)
globalHeader.swapByteOrder();
snaplen = ByteOrderConverter.swap(snaplen);