public static Ptg createPtg(LittleEndianInput in) {byte id = in.readByte();if (id < 0x20) {return createBasePtg(id, in);}Ptg  retval = createClassifiedPtg(id, in);if (id >= 0x60) {retval.setClass(CLASS_ARRAY);} else if (id >= 0x40) {retval.setClass(CLASS_VALUE);} else {retval.setClass(CLASS_REF);}return retval;}

public static Ptg CreatePtg(ILittleEndianInput in1){byte id = (byte)in1.ReadByte();if (id < 0x20){return CreateBasePtg(id, in1);}Ptg retval = CreateClassifiedPtg(id, in1);if (id >= 0x60){retval.PtgClass = CLASS_ARRAY;}else if (id >= 0x40){retval.PtgClass = CLASS_VALUE;}else{retval.PtgClass = CLASS_REF;}return retval;}
