Package org.msgpack.value
Interface ExtensionValue
-
- All Superinterfaces:
Value
- All Known Subinterfaces:
ImmutableExtensionValue
- All Known Implementing Classes:
ImmutableExtensionValueImpl
public interface ExtensionValue extends Value
Representation of MessagePack's Extension type. MessagePack's Extension type can represent represents a tuple of type information and a byte array where type information is an integer whose meaning is defined by applications. As the type information, applications can use 0 to 127 as the application-specific types. -1 to -128 is reserved for MessagePack's future extension.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
getData()
byte
getType()
-
Methods inherited from interface org.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
-
-