*
* @throws java.io.IOException
*/
public StaticFieldSizeInfo load(CapInputStream in) throws UnableToReadCapFileException {
StaticFieldSizeInfo staticFieldSizeInfo = new StaticFieldSizeInfo();
// image size reading
staticFieldSizeInfo.setImageSize(in.readShort());
logger.trace("image size: {}", staticFieldSizeInfo.getImageSize());
// array_init_count reading
staticFieldSizeInfo.setArrayInitCount(in.readShort());
logger.trace("array init count: {}", staticFieldSizeInfo.getArrayInitCount());
// array_init_size
staticFieldSizeInfo.setArrayInitSize(in.readShort());
logger.trace("array init size: {}", staticFieldSizeInfo.getArrayInitSize());
return staticFieldSizeInfo;
}