private byte tag;
@Override
public Component load(CapInputStream in) throws UnableToReadCapFileException {
CustomComponent customComponent = new CustomComponent();
// we first read tag and size
super.load(tag, in, customComponent);
customComponent.setBytes(new ArrayList<Byte>());
for (int i = 0; i < customComponent.getSize(); i++) {
customComponent.getBytes().add(in.readByte());
}
checkSize(in, customComponent);
return customComponent;