@Override public void writeBytes(final byte[] value) throws IOException { FieldType.BYTE_ARRAY.write(this, value); }
@Override public void writeFloat(final float value) throws IOException { FieldType.FLOAT.write(this, value); }
@Override public void writeUTFs(final String[] value) throws IOException { FieldType.STRING_ARRAY.write(this, value); }
@Override public void writeEncodable(final Object encodable) throws IOException { FieldType.ENCODABLE.write(this, (Encodable) encodable); }
@Override public void writeChar(final int value) throws IOException { FieldType.CHAR.write(this, (char) value); }
@Override public void writeShort(final int value) throws IOException { FieldType.SHORT.write(this, (short) value); }
@Override public void writeEncodables(final Object[] objects) throws IOException { Encodable[] encodables; if (objects == null) { encodables = null; } else { encodables = new Encodable[objects.length]; for (int i = 0; i < encodables.length; i++) { encodables[i] = (Encodable) objects[i]; } } FieldType.ENCODABLE_ARRAY.write(this, encodables); }
@Override public void writeChars(final char[] value) throws IOException { FieldType.CHAR_ARRAY.write(this, value); }
@Override public void writeLong(final long value) throws IOException { FieldType.LONG.write(this, value); }
@Override public void writeDouble(final double value) throws IOException { FieldType.DOUBLE.write(this, value); }
@Override public void writeDoubles(final double[] value) throws IOException { FieldType.DOUBLE_ARRAY.write(this, value); }
@Override public void writeBoolean(final boolean value) throws IOException { FieldType.BOOLEAN.write(this, value); }
@Override public void writeBooleans(final boolean[] value) throws IOException { FieldType.BOOLEAN_ARRAY.write(this, value); }
@Override public void writeInts(final int[] value) throws IOException { FieldType.INTEGER_ARRAY.write(this, value); }
@Override public void writeLongs(final long[] value) throws IOException { FieldType.LONG_ARRAY.write(this, value); }
@Override public void writeSerializables(final Object[] objects) throws IOException { Serializable[] serializeables; if (objects == null) { serializeables = null; } else { serializeables = new Serializable[objects.length]; for (int i = 0; i < serializeables.length; i++) { serializeables[i] = (Serializable) objects[i]; } } FieldType.SERIALIZABLE_ARRAY.write(this, serializeables); }
@Override public void writeShorts(final short[] value) throws IOException { FieldType.SHORT_ARRAY.write(this, value); }
@Override public void writeInt(final int value) throws IOException { FieldType.INTEGER.write(this, value); }
@Override public void writeUTF(final String value) throws IOException { FieldType.STRING.write(this, value); }
@Override public void writeSerializable(final Object serializable) throws IOException { FieldType.SERIALIZABLE.write(this, (Serializable) serializable); }