public void loadHeader() throws IOException {
  luacVersion=is.readByte();
  luacFormat=is.readByte();
  luacLittleEndian=(0 != is.readByte());
  luacSizeofInt=is.readByte();
  luacSizeofSizeT=is.readByte();
  luacSizeofInstruction=is.readByte();
  luacSizeofLuaNumber=is.readByte();
  luacNumberFormat=is.readByte();
  for (int i=0; i < LUAC_TAIL.length; ++i)   if (is.readByte() != LUAC_TAIL[i])   throw new LuaError("Unexpeted byte in luac tail of header, index=" + i);
}

public void loadHeader ( ) throws IOException { luacVersion = is . readByte ( ) ; luacFormat = is . readByte ( ) ; luacLittleEndian = ( 0 != is . readByte ( ) ) ; luacSizeofInt = is . readByte ( ) ; luacSizeofSizeT = is . readByte ( ) ; luacSizeofInstruction = is . readByte ( ) ; luacSizeofLuaNumber = is . readByte ( ) ; luacNumberFormat = is . readByte ( ) ; for ( int i = 0 ; i < LUAC_TAIL . length ; ++ i ) if ( is . readByte ( ) != LUAC_TAIL [ i ] ) throw new LuaError ( "Unexpeted byte in luac tail of header, index=" + i ) ; }
load the lua chunk header values .
