@Test public void testWriteShort() throws IOException { this.fastJsonObjectOutput.writeShort((short) 2); this.flushToInput(); assertThat(fastJsonObjectInput.readShort(), is((short) 2)); }
@Override public void writeShort(short v) throws IOException { writeObject(v); }
FastJsonObjectOutput implements ObjectOutput { @Override public void writeShort(short v) throws IOException { writeObject(v); } }
FastJsonObjectOutput implements ObjectOutput { @Override public void writeShort(short v) throws IOException { writeObject(v); } FastJsonObjectOutput(OutputStream out);  FastJsonObjectOutput(Writer writer); }
FastJsonObjectOutput implements ObjectOutput { @Override public void writeShort(short v) throws IOException { writeObject(v); } FastJsonObjectOutput(OutputStream out);  FastJsonObjectOutput(Writer writer); @Override void writeBool(boolean v); @Override void writeByte(byte v); @Override void writeShort(short v); @Override void writeInt(int v); @Override void writeLong(long v); @Override void writeFloat(float v); @Override void writeDouble(double v); @Override void writeUTF(String v); @Override void writeBytes(byte[] b); @Override void writeBytes(byte[] b, int off, int len); @Override void writeObject(Object obj); @Override void flushBuffer(); }
FastJsonObjectOutput implements ObjectOutput { @Override public void writeShort(short v) throws IOException { writeObject(v); } FastJsonObjectOutput(OutputStream out);  FastJsonObjectOutput(Writer writer); @Override void writeBool(boolean v); @Override void writeByte(byte v); @Override void writeShort(short v); @Override void writeInt(int v); @Override void writeLong(long v); @Override void writeFloat(float v); @Override void writeDouble(double v); @Override void writeUTF(String v); @Override void writeBytes(byte[] b); @Override void writeBytes(byte[] b, int off, int len); @Override void writeObject(Object obj); @Override void flushBuffer();  }