@Override
    @SuppressFBWarnings("DE_MIGHT_IGNORE")
    public String toString() {
        String payloadString;
        try {
            payloadString = new String(payload, "UTF-8");
        } catch (UnsupportedEncodingException ex) {
            LOGGER.debug("UTF-8 charset not found on the JRE", ex);
            payloadString = "???";
        }
        return "Message(Token="+Utilities.encodeHex(deviceToken)+"; Payload="+payloadString+")";
    }
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