presto-main/src/main/java/io/prestosql/execution/buffer/PagesSerdeUtil.java/PagesSerdeUtil/computeNext
class PagesSerdeUtil:        @Override
        protected SerializedPage computeNext()
        {
            if (!input.isReadable()) {
                return endOfData();
            }

            return readSerializedPage(input);
        }