private List<Object> readPayload(final Buffer buffer) throws IOException {
        final List<Object> result = new ArrayList<>();
        while (buffer.readableBytes() != 0) {
            final Object obj = reader.read(buffer);
            if (Marker.END_OF_STREAM.equals(obj)) {
                break;
            }
            result.add(obj);
        }
        return result;
    }
Creates a new instance of the message serializer using the default type serializers.
gremlin-util/src/main/java/org/apache/tinkerpop/gremlin/util/ser/GraphBinaryMessageSerializerV4.java