Package codechicken.lib.data
Class MCDataOutputStream
java.lang.Object
codechicken.lib.data.MCDataOutputStream
- All Implemented Interfaces:
MCDataOutput
- Direct Known Subclasses:
MCByteStream
Deprecated, for removal: This API element is subject to removal in a future version.
An
MCDataOutput implementation writing all
its data to either a OutputStream or
DataOutput stream.
Created by covers1624 on 4/15/20.
-
Nested Class Summary
Nested classes/interfaces inherited from interface codechicken.lib.data.MCDataOutput
MCDataOutput.OutputStreamWrapper -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionwriteBoolean(boolean b) Deprecated, for removal: This API element is subject to removal in a future version.Writes a boolean to the stream.writeByte(int b) Deprecated, for removal: This API element is subject to removal in a future version.Writes a byte to the stream.writeChar(int c) Deprecated, for removal: This API element is subject to removal in a future version.Writes a char to the stream.writeDouble(double d) Deprecated, for removal: This API element is subject to removal in a future version.Writes a double to the stream.writeFloat(float f) Deprecated, for removal: This API element is subject to removal in a future version.Writes a float to the stream.writeInt(int i) Deprecated, for removal: This API element is subject to removal in a future version.Writes a int to the stream.writeLong(long l) Deprecated, for removal: This API element is subject to removal in a future version.Writes a long to the stream.writeShort(int s) Deprecated, for removal: This API element is subject to removal in a future version.Writes a short to the stream.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface codechicken.lib.data.MCDataOutput
append, append, toDataOutput, toOutputStream, writeBooleans, writeBooleans, writeByteBuf, writeByteBuffer, writeBytes, writeBytes, writeCharBuffer, writeChars, writeChars, writeCompoundNBT, writeCuboid, writeDirection, writeDoubleBuffer, writeDoubles, writeDoubles, writeEnum, writeFloatBuffer, writeFloats, writeFloats, writeFluidStack, writeIntBuffer, writeInts, writeInts, writeItemStack, writeLongBuffer, writeLongs, writeLongs, writeNullableCompoundNBT, writePos, writeRegistryId, writeRegistryId, writeRegistryIdDirect, writeRegistryIdDirect, writeResourceLocation, writeShortBuffer, writeShorts, writeShorts, writeSignedVarInt, writeSignedVarInts, writeSignedVarInts, writeSignedVarLong, writeSignedVarLongs, writeSignedVarLongs, writeString, writeString, writeTextComponent, writeUUID, writeVarInt, writeVarInts, writeVarInts, writeVarLong, writeVarLongs, writeVarLongs, writeVec3d, writeVec3f, writeVec3i, writeVector, writeWithCodec, writeWithRegistryCodec
-
Constructor Details
-
MCDataOutputStream
Deprecated, for removal: This API element is subject to removal in a future version. -
MCDataOutputStream
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
writeByte
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:MCDataOutputWrites a byte to the stream.- Specified by:
writeBytein interfaceMCDataOutput- Parameters:
b- The byte.- Returns:
- The same stream.
-
writeChar
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:MCDataOutputWrites a char to the stream.- Specified by:
writeCharin interfaceMCDataOutput- Parameters:
c- The char.- Returns:
- The same stream.
-
writeShort
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:MCDataOutputWrites a short to the stream.- Specified by:
writeShortin interfaceMCDataOutput- Parameters:
s- The short.- Returns:
- The same stream.
-
writeInt
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:MCDataOutputWrites a int to the stream.- Specified by:
writeIntin interfaceMCDataOutput- Parameters:
i- The int.- Returns:
- The same stream.
-
writeLong
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:MCDataOutputWrites a long to the stream.- Specified by:
writeLongin interfaceMCDataOutput- Parameters:
l- The long.- Returns:
- The same stream.
-
writeFloat
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:MCDataOutputWrites a float to the stream.- Specified by:
writeFloatin interfaceMCDataOutput- Parameters:
f- The float.- Returns:
- The same stream.
-
writeDouble
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:MCDataOutputWrites a double to the stream.- Specified by:
writeDoublein interfaceMCDataOutput- Parameters:
d- The double.- Returns:
- The same stream.
-
writeBoolean
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:MCDataOutputWrites a boolean to the stream.- Specified by:
writeBooleanin interfaceMCDataOutput- Parameters:
b- The boolean.- Returns:
- The same stream.
-