private static boolean isMatch(final List<Byte> input) {
        for (int i = 0; i < pattern.length; i++) {
            if (pattern[i] != input.get(i)) {
                return false;
            }
        }
        return true;
    }
Read the bytes of the next {@link Vertex} in the stream. The returned
stream can then be passed to {@link GryoReader#readVertex(java.io.InputStream, java.util.function.Function)}.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/gryo/VertexByteArrayInputStream.java