presto-main/src/main/java/io/prestosql/execution/buffer/PagesSerdeUtil.java/PagesSerdeUtil/writeSerializedPage
class PagesSerdeUtil:    public static void writeSerializedPage(SliceOutput output, SerializedPage page)
    {
        output.writeInt(page.getPositionCount());
        output.writeByte(page.getPageCodecMarkers());
        output.writeInt(page.getUncompressedSizeInBytes());
        output.writeInt(page.getSizeInBytes());
        output.writeBytes(page.getSlice());
    }