Class ByteArrayType.OptionalByteArrayType
java.lang.Object
com.viaversion.viaversion.api.type.Type<T>
com.viaversion.viaversion.api.type.OptionalType<byte[]>
com.viaversion.viaversion.api.type.types.ByteArrayType.OptionalByteArrayType
- All Implemented Interfaces:
ByteBufReader<byte[]>
,ByteBufWriter<byte[]>
- Enclosing class:
- ByteArrayType
-
Constructor Summary
-
Method Summary
Methods inherited from class com.viaversion.viaversion.api.type.OptionalType
read, write
Methods inherited from class com.viaversion.viaversion.api.type.Type
getBaseClass, getOutputClass, getTypeName, readEither, toString, writeEither
-
Constructor Details
-
OptionalByteArrayType
public OptionalByteArrayType() -
OptionalByteArrayType
public OptionalByteArrayType(int length)
-