Class NetworkDataOutputStream

java.lang.Object
net.minecraft.server.rcon.NetworkDataOutputStream

public class NetworkDataOutputStream extends Object
  • Field Details

  • Constructor Details

    • NetworkDataOutputStream

      public NetworkDataOutputStream(int pCapacity)
  • Method Details

    • writeBytes

      public void writeBytes(byte[] pData) throws IOException
      Writes the given byte array to the output stream
      Throws:
      IOException
    • writeString

      public void writeString(String pData) throws IOException
      Writes the given String to the output stream
      Throws:
      IOException
    • write

      public void write(int pData) throws IOException
      Writes the given int to the output stream
      Throws:
      IOException
    • writeShort

      public void writeShort(short pData) throws IOException
      Writes the given short to the output stream
      Throws:
      IOException
    • writeInt

      public void writeInt(int pData) throws IOException
      Throws:
      IOException
    • writeFloat

      public void writeFloat(float pData) throws IOException
      Throws:
      IOException
    • toByteArray

      public byte[] toByteArray()
    • reset

      public void reset()