public static final GameDownBuffer allocat(int gameType, int capacity) { GameDownBuffer gb = new GameDownBuffer(GameBufferFactory.getBuffer(capacity + 2)); gb.putShort((short) gameType); return gb; }
public static final GameDownBuffer allocat(int capacity) { return new GameDownBuffer(GameBufferFactory.getBuffer(capacity)); }