public void WriteData(IObjectDataOutput output) { output.WriteBoolean(Bool); output.WriteBooleanArray(BoolArray); output.WriteByte(Byte); output.WriteByteArray(ByteArray); output.WriteChar(Char); output.WriteCharArray(CharArray); output.WriteShort(Short); output.WriteShortArray(ShortArray); output.WriteInt(Int); output.WriteIntArray(IntArray); output.WriteLong(Long); output.WriteLongArray(LongArray); output.WriteFloat(Float); output.WriteFloatArray(FloatArray); output.WriteDouble(Double); output.WriteDoubleArray(DoubleArray); output.WriteObject(Serializable); //output.WriteObject(SerializableArray); //output.WriteObject(Portable); //output.WriteObject(PortableArray); output.WriteInt(Chars.Length); output.WriteChars(Chars); output.WriteUTF(String); output.WriteUTFArray(StringArray); output.WriteObject(DateTime); }
/// <exception cref="System.IO.IOException"></exception> public override void Write(IObjectDataOutput output, float obj) { output.WriteFloat(obj); }