*
*/
@Override
public Component load(CapInputStream in) throws UnableToReadCapFileException {
DebugComponent debugComponent = new DebugComponent();
// we first read tag and size
super.load((byte) ComponentEnum.DEBUG_COMPONENT.getValue(), in, debugComponent);
logger.debug(LogType.DEBUG_COMPONENT.getMarker(), "Component size: " + (debugComponent.getSize() + 0x00FFFF));
logger.info(LogType.DEBUG_COMPONENT.getMarker(), "WARNING: The Debug Component is not still implemened!");
// we reset the count of byte read to zero
in.resetCount();
for (int i = 0; i < debugComponent.getSize(); i++) {
in.readByte();
}
checkSize(in, debugComponent);