Package net.minecraft.src
Class RConOutputStream
java.lang.Object
net.minecraft.src.RConOutputStream
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidreset()Resets the byte array output.byte[]Returns the contents of the output stream as a byte arrayvoidwriteByteArray(byte[] par1ArrayOfByte) Writes the given byte array to the output streamvoidwriteInt(int par1) Writes the given int to the output streamvoidwriteShort(short par1) Writes the given short to the output streamvoidwriteString(String par1Str) Writes the given String to the output stream
-
Constructor Details
-
RConOutputStream
public RConOutputStream(int par1)
-
-
Method Details
-
writeByteArray
Writes the given byte array to the output stream- Throws:
IOException
-
writeString
Writes the given String to the output stream- Throws:
IOException
-
writeInt
Writes the given int to the output stream- Throws:
IOException
-
writeShort
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.
-