public class FuryObjectOutput extends Object implements org.apache.dubbo.common.serialize.ObjectOutput
ObjectOutput.| Constructor and Description |
|---|
FuryObjectOutput(io.fury.Fury fury,
io.fury.memory.MemoryBuffer buffer,
OutputStream output) |
| Modifier and Type | Method and Description |
|---|---|
void |
flushBuffer() |
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 |
writeUTF(String v) |
public FuryObjectOutput(io.fury.Fury fury,
io.fury.memory.MemoryBuffer buffer,
OutputStream output)
public void writeObject(Object obj)
writeObject in interface org.apache.dubbo.common.serialize.ObjectOutputpublic void writeBool(boolean v)
throws IOException
writeBool in interface org.apache.dubbo.common.serialize.DataOutputIOExceptionpublic void writeByte(byte v)
throws IOException
writeByte in interface org.apache.dubbo.common.serialize.DataOutputIOExceptionpublic void writeShort(short v)
throws IOException
writeShort in interface org.apache.dubbo.common.serialize.DataOutputIOExceptionpublic void writeInt(int v)
throws IOException
writeInt in interface org.apache.dubbo.common.serialize.DataOutputIOExceptionpublic void writeLong(long v)
throws IOException
writeLong in interface org.apache.dubbo.common.serialize.DataOutputIOExceptionpublic void writeFloat(float v)
throws IOException
writeFloat in interface org.apache.dubbo.common.serialize.DataOutputIOExceptionpublic void writeDouble(double v)
throws IOException
writeDouble in interface org.apache.dubbo.common.serialize.DataOutputIOExceptionpublic void writeUTF(String v) throws IOException
writeUTF in interface org.apache.dubbo.common.serialize.DataOutputIOExceptionpublic void writeBytes(byte[] v)
throws IOException
writeBytes in interface org.apache.dubbo.common.serialize.DataOutputIOExceptionpublic void writeBytes(byte[] v,
int off,
int len)
throws IOException
writeBytes in interface org.apache.dubbo.common.serialize.DataOutputIOExceptionpublic void flushBuffer()
throws IOException
flushBuffer in interface org.apache.dubbo.common.serialize.DataOutputIOExceptionCopyright © 2023. All rights reserved.