Class TypeLengthValueUtils.Encoder
- java.lang.Object
-
- io.github.hapjava.server.impl.pairing.TypeLengthValueUtils.Encoder
-
- Enclosing class:
- TypeLengthValueUtils
public static final class TypeLengthValueUtils.Encoder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(MessageType type, byte[] bytes)voidadd(MessageType type, short b)voidadd(MessageType type, BigInteger i)byte[]toByteArray()
-
-
-
Method Detail
-
add
public void add(MessageType type, BigInteger i) throws IOException
- Throws:
IOException
-
add
public void add(MessageType type, short b)
-
add
public void add(MessageType type, byte[] bytes) throws IOException
- Throws:
IOException
-
toByteArray
public byte[] toByteArray()
-
-