code: public static KryoPool withBuffer(int poolSize,
        final KryoInstantiator ki,
        final int outBufferMin,
        final int outBufferMax) {
      return new KryoPool(poolSize) {
        protected SerDeState newInstance() {
          return new SerDeState(ki.newKryo(), new Input(), new Output(outBufferMin, outBufferMax));
        }
      };
    }
docs: Output is created with new Output(outBufferMin, outBufferMax);