/* * Decompiled with CFR 0.152. */ package com.tridium.install; import java.io.DataInputStream; import java.io.IOException; class Attrib { int nameIndex; String name; int len; byte[] info; Attrib(DataInputStream dataInputStream, String[] stringArray) throws IOException { this.nameIndex = dataInputStream.readUnsignedShort(); this.name = stringArray[this.nameIndex]; if (this.name == null) { throw new IOException("Could not look up attribute."); } this.len = dataInputStream.readInt(); this.info = new byte[this.len]; dataInputStream.readFully(this.info, 0, this.len); } }