public class FastJson2ObjectOutput extends Object implements ObjectOutput
| Constructor and Description |
|---|
FastJson2ObjectOutput(Fastjson2CreatorManager fastjson2CreatorManager,
Fastjson2SecurityManager fastjson2SecurityManager,
OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
flushBuffer() |
void |
writeBool(boolean v) |
void |
writeByte(byte v) |
void |
writeBytes(byte[] b) |
void |
writeBytes(byte[] b,
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) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwriteAttachments, writeEvent, writeThrowablepublic FastJson2ObjectOutput(Fastjson2CreatorManager fastjson2CreatorManager, Fastjson2SecurityManager fastjson2SecurityManager, OutputStream out)
public void writeBool(boolean v)
throws IOException
writeBool in interface DataOutputIOExceptionpublic void writeByte(byte v)
throws IOException
writeByte in interface DataOutputIOExceptionpublic void writeShort(short v)
throws IOException
writeShort in interface DataOutputIOExceptionpublic void writeInt(int v)
throws IOException
writeInt in interface DataOutputIOExceptionpublic void writeLong(long v)
throws IOException
writeLong in interface DataOutputIOExceptionpublic void writeFloat(float v)
throws IOException
writeFloat in interface DataOutputIOExceptionpublic void writeDouble(double v)
throws IOException
writeDouble in interface DataOutputIOExceptionpublic void writeUTF(String v) throws IOException
writeUTF in interface DataOutputIOExceptionpublic void writeBytes(byte[] b)
throws IOException
writeBytes in interface DataOutputIOExceptionpublic void writeBytes(byte[] b,
int off,
int len)
throws IOException
writeBytes in interface DataOutputIOExceptionpublic void writeObject(Object obj) throws IOException
writeObject in interface ObjectOutputIOExceptionpublic void flushBuffer()
throws IOException
flushBuffer in interface DataOutputIOExceptionCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.