Package 

Interface StringValue

  • All Implemented Interfaces:
    com.batch.android.msgpack.value.RawValue , com.batch.android.msgpack.value.Value

    
    public interface StringValue
     implements RawValue
                        

    Representation of MessagePack's String type.

    MessagePack's String type can represent a UTF-8 string at most 264-1 bytes.

    Note that the value could include invalid byte sequences. {@code asString()} method throws {@code MessageTypeStringCodingException} if the value includes invalid byte sequence. {@code toJson()} method replaces an invalid byte sequence with U+FFFD replacement character.

    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class com.batch.android.msgpack.value.RawValue

        asByteArray, asByteBuffer, asString, toString
      • Methods inherited from class com.batch.android.msgpack.value.Value

        asArrayValue, asBinaryValue, asBooleanValue, asExtensionValue, asFloatValue, asIntegerValue, asMapValue, asNilValue, asNumberValue, asRawValue, asStringValue, equals, getValueType, immutableValue, isArrayValue, isBinaryValue, isBooleanValue, isExtensionValue, isFloatValue, isIntegerValue, isMapValue, isNilValue, isNumberValue, isRawValue, isStringValue, toJson, writeTo
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait