public virtual void checkMarkerLength(System.IO.BinaryReader ehs, System.String str) { long available; available = ehs.BaseStream.Length - ehs.BaseStream.Position; if ((int) available != 0) { FacilityManager.getMsgLogger().printmsg(CSJ2K.j2k.util.MsgLogger_Fields.WARNING, str + " length was short, attempting to resync."); } }