presto-memory/src/main/java/io/prestosql/plugin/memory/MemoryDataFragment.java/MemoryDataFragment/fromSlice
class MemoryDataFragment:    public static MemoryDataFragment fromSlice(Slice fragment)
    {
        return MEMORY_DATA_FRAGMENT_CODEC.fromJson(fragment.getBytes());
    }