public Prototype loadFunction(LuaString p) throws IOException {
  Prototype f=new Prototype();
  f.linedefined=loadInt();
  f.lastlinedefined=loadInt();
  f.numparams=is.readUnsignedByte();
  f.is_vararg=is.readUnsignedByte();
  f.maxstacksize=is.readUnsignedByte();
  f.code=loadIntArray();
  loadConstants(f);
  loadUpvalues(f);
  loadDebug(f);
  return f;
}

public Prototype loadFunction ( LuaString p ) throws IOException { Prototype f = new Prototype ( ) ; f . linedefined = loadInt ( ) ; f . lastlinedefined = loadInt ( ) ; f . numparams = is . readUnsignedByte ( ) ; f . is_vararg = is . readUnsignedByte ( ) ; f . maxstacksize = is . readUnsignedByte ( ) ; f . code = loadIntArray ( ) ; loadConstants ( f ) ; loadUpvalues ( f ) ; loadDebug ( f ) ; return f ; }
load a function prototype from the input stream
