public void writeEncodables(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); }
public void writeSerializables(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); }
public void writeSerializables(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); }
public void writeEncodables(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); }
public void writeByte(int value) throws IOException { FieldType.BYTE.write(this, (byte) value); }
public void writeShort(int value) throws IOException { FieldType.SHORT.write(this, (short) value); }
public void writeShorts(short[] value) throws IOException { FieldType.SHORT_ARRAY.write(this, value); }
public void writeInts(int[] value) throws IOException { FieldType.INTEGER_ARRAY.write(this, value); }
public void writeLong(long value) throws IOException { FieldType.LONG.write(this, value); }
public void writeInt(int value) throws IOException { FieldType.INTEGER.write(this, value); }
public void writeInt(int value) throws IOException { FieldType.INTEGER.write(this, value); }
public void writeLongs(long[] value) throws IOException { FieldType.LONG_ARRAY.write(this, value); }
public void writeDouble(double value) throws IOException { FieldType.DOUBLE.write(this, value); }
public void writeUTF(String value) throws IOException { FieldType.STRING.write(this, value); }
public void writeSerializable(Object serializable) throws IOException { FieldType.SERIALIZABLE.write(this, (Serializable) serializable); }
public void writeInts(int[] value) throws IOException { FieldType.INTEGER_ARRAY.write(this, value); }
public void writeLong(long value) throws IOException { FieldType.LONG.write(this, value); }
public void writeBoolean(boolean value) throws IOException { FieldType.BOOLEAN.write(this, value); }
public void writeDoubles(double[] value) throws IOException { FieldType.DOUBLE_ARRAY.write(this, value); }
public void writeEncodable(Object encodable) throws IOException { FieldType.ENCODABLE.write(this, (Encodable) encodable); }