@Override
    public boolean equals(Object obj) {
        if (!(obj instanceof SimpleApnsNotification))
            return false;
        SimpleApnsNotification o = (SimpleApnsNotification)obj;
        return Arrays.equals(this.deviceToken, o.deviceToken)
                && Arrays.equals(this.payload, o.payload);
    }
Returns the length of the message in bytes as it is encoded on the wire.

Apple require the message to be of length 255 bytes or less.

@return length of encoded message in bytes
src/main/java/com/notnoop/apns/SimpleApnsNotification.java