Class IntArrayType

java.lang.Object
com.viaversion.viaversion.api.type.Type<int[]>
com.viaversion.viarewind.api.type.IntArrayType
All Implemented Interfaces:
com.viaversion.viaversion.api.type.ByteBufReader<int[]>, com.viaversion.viaversion.api.type.ByteBufWriter<int[]>, com.viaversion.viaversion.api.type.CodecWriter<int[]>

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int[]
    read(io.netty.buffer.ByteBuf byteBuf)
     
    void
    write(io.netty.buffer.ByteBuf byteBuf, int[] 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

    • IntArrayType

      public IntArrayType()
  • Method Details

    • read

      public int[] read(io.netty.buffer.ByteBuf byteBuf)
    • write

      public void write(io.netty.buffer.ByteBuf byteBuf, int[] array)