Class UnsignedByteByteArrayType

java.lang.Object
com.viaversion.viaversion.api.type.Type<byte[]>
net.raphimc.vialegacy.protocol.release.r1_4_2tor1_4_4_5.types.UnsignedByteByteArrayType
All Implemented Interfaces:
com.viaversion.viaversion.api.type.ByteBufReader<byte[]>, com.viaversion.viaversion.api.type.ByteBufWriter<byte[]>, com.viaversion.viaversion.api.type.CodecWriter<byte[]>

public class UnsignedByteByteArrayType extends com.viaversion.viaversion.api.type.Type<byte[]>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    read(io.netty.buffer.ByteBuf buffer)
     
    void
    write(io.netty.buffer.ByteBuf buffer, byte[] array)
     

    Methods inherited from class com.viaversion.viaversion.api.type.Type

    getBaseClass, getOutputClass, getTypeName, toString, write

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • UnsignedByteByteArrayType

      public UnsignedByteByteArrayType()
  • Method Details

    • write

      public void write(io.netty.buffer.ByteBuf buffer, byte[] array)
    • read

      public byte[] read(io.netty.buffer.ByteBuf buffer)