Class NativeJavaObjectOutput
java.lang.Object
org.apache.dubbo.common.serialize.nativejava.NativeJavaObjectOutput
- All Implemented Interfaces:
DataOutput,ObjectOutput
- Direct Known Subclasses:
JavaObjectOutput
Native java object output implementation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidwriteBool(boolean v) voidwriteByte(byte v) voidwriteBytes(byte[] v) voidwriteBytes(byte[] v, int off, int len) voidwriteDouble(double v) voidwriteFloat(float v) voidwriteInt(int v) voidwriteLong(long v) voidwriteObject(Object obj) voidwriteShort(short v) voidMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.dubbo.common.serialize.ObjectOutput
writeAttachments, writeEvent, writeThrowable
-
Constructor Details
-
NativeJavaObjectOutput
- Throws:
IOException
-
-
Method Details
-
writeObject
- Specified by:
writeObjectin interfaceObjectOutput- Throws:
IOException
-
writeBool
- Specified by:
writeBoolin interfaceDataOutput- Throws:
IOException
-
writeByte
- Specified by:
writeBytein interfaceDataOutput- Throws:
IOException
-
writeShort
- Specified by:
writeShortin interfaceDataOutput- Throws:
IOException
-
writeInt
- Specified by:
writeIntin interfaceDataOutput- Throws:
IOException
-
writeLong
- Specified by:
writeLongin interfaceDataOutput- Throws:
IOException
-
writeFloat
- Specified by:
writeFloatin interfaceDataOutput- Throws:
IOException
-
writeDouble
- Specified by:
writeDoublein interfaceDataOutput- Throws:
IOException
-
writeUTF
- Specified by:
writeUTFin interfaceDataOutput- Throws:
IOException
-
writeBytes
- Specified by:
writeBytesin interfaceDataOutput- Throws:
IOException
-
writeBytes
- Specified by:
writeBytesin interfaceDataOutput- Throws:
IOException
-
flushBuffer
- Specified by:
flushBufferin interfaceDataOutput- Throws:
IOException
-