public boolean equals(final byte[] data)
    {
        return equals(data, 0, data.length);
    }
Returns true if the contents of the internal array and the provided array match.
protostuff-api/src/main/java/io/protostuff/ByteString.java