/** * Read data from stream to populate an EntryValueShort. * * @param in data reader for EntryValueShort. * @param value an EntryValue to populate. * @throws IOException */ @Override public void reinitValue(DataReader in, EntryValueShort value) throws IOException { value.reinit( in.readInt(), /* array position */ in.readShort(), /* data value */ in.readLong() /* SCN value */); }
/** * @return an EntryValueShort read from an input stream. * @throws IOException */ public EntryValueShort newValue(DataReader in) throws IOException { return new EntryValueShort( in.readInt(), /* array position */ in.readShort(), /* data value */ in.readLong() /* SCN value */); }