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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
writeBool
(boolean v) void
writeByte
(byte v) void
writeBytes
(byte[] v) void
writeBytes
(byte[] v, int off, int len) void
writeDouble
(double v) void
writeFloat
(float v) void
writeInt
(int v) void
writeLong
(long v) void
writeObject
(Object obj) void
writeShort
(short v) void
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.dubbo.common.serialize.ObjectOutput
writeAttachments, writeEvent, writeThrowable
-
Constructor Details
-
NativeJavaObjectOutput
- Throws:
IOException
-
-
Method Details
-
writeObject
- Specified by:
writeObject
in interfaceObjectOutput
- Throws:
IOException
-
writeBool
- Specified by:
writeBool
in interfaceDataOutput
- Throws:
IOException
-
writeByte
- Specified by:
writeByte
in interfaceDataOutput
- Throws:
IOException
-
writeShort
- Specified by:
writeShort
in interfaceDataOutput
- Throws:
IOException
-
writeInt
- Specified by:
writeInt
in interfaceDataOutput
- Throws:
IOException
-
writeLong
- Specified by:
writeLong
in interfaceDataOutput
- Throws:
IOException
-
writeFloat
- Specified by:
writeFloat
in interfaceDataOutput
- Throws:
IOException
-
writeDouble
- Specified by:
writeDouble
in interfaceDataOutput
- Throws:
IOException
-
writeUTF
- Specified by:
writeUTF
in interfaceDataOutput
- Throws:
IOException
-
writeBytes
- Specified by:
writeBytes
in interfaceDataOutput
- Throws:
IOException
-
writeBytes
- Specified by:
writeBytes
in interfaceDataOutput
- Throws:
IOException
-
flushBuffer
- Specified by:
flushBuffer
in interfaceDataOutput
- Throws:
IOException
-