Class RConOutputStream

java.lang.Object
net.minecraft.src.RConOutputStream

public class RConOutputStream extends Object
  • Constructor Details

    • RConOutputStream

      public RConOutputStream(int par1)
  • Method Details

    • writeByteArray

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

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

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

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

      public byte[] toByteArray()
      Returns the contents of the output stream as a byte array
    • reset

      public void reset()
      Resets the byte array output.