Class VariantBytes
java.lang.Object
io.aether.api.smarthome.VariantData
io.aether.api.smarthome.VariantBytes
- All Implemented Interfaces:
io.aether.utils.ToString
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.aether.net.fastMeta.FastMetaType<VariantBytes> static final io.aether.net.fastMeta.FastMetaType<VariantBytes> protected final byte[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintbyte[]getValue()inthashCode()toString()voidtoString(io.aether.utils.AString sb) booleanvalueContains(byte el) Methods inherited from interface io.aether.utils.ToString
toString2
-
Field Details
-
META_BODY
-
META
-
value
protected final byte[] value
-
-
Constructor Details
-
VariantBytes
public VariantBytes(byte[] value)
-
-
Method Details
-
getAetherTypeId
public int getAetherTypeId()- Specified by:
getAetherTypeIdin classVariantData
-
getValue
public byte[] getValue() -
valueContains
public boolean valueContains(byte el) -
equals
- Overrides:
equalsin classVariantData
-
hashCode
public int hashCode()- Overrides:
hashCodein classVariantData
-
toString
- Overrides:
toStringin classVariantData
-
toString
public void toString(io.aether.utils.AString sb) - Specified by:
toStringin interfaceio.aether.utils.ToString- Overrides:
toStringin classVariantData
-