Class VariantBytes

java.lang.Object
io.aether.api.smarthome.VariantData
io.aether.api.smarthome.VariantBytes
All Implemented Interfaces:
io.aether.utils.ToString

public class VariantBytes extends VariantData implements io.aether.utils.ToString
  • Field Details

    • META_BODY

      public static final io.aether.net.fastMeta.FastMetaType<VariantBytes> META_BODY
    • META

      public static final io.aether.net.fastMeta.FastMetaType<VariantBytes> META
    • value

      protected final byte[] value
  • Constructor Details

    • VariantBytes

      public VariantBytes(byte[] value)
  • Method Details

    • getAetherTypeId

      public int getAetherTypeId()
      Specified by:
      getAetherTypeId in class VariantData
    • getValue

      public byte[] getValue()
    • valueContains

      public boolean valueContains(byte el)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class VariantData
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VariantData
    • toString

      public String toString()
      Overrides:
      toString in class VariantData
    • toString

      public void toString(io.aether.utils.AString sb)
      Specified by:
      toString in interface io.aether.utils.ToString
      Overrides:
      toString in class VariantData