internal bool MustGoBeforeIDAT() { ChunkOrderingConstraint oc = GetOrderingConstraint(); return(oc == ChunkOrderingConstraint.BEFORE_IDAT || oc == ChunkOrderingConstraint.BEFORE_PLTE_AND_IDAT || oc == ChunkOrderingConstraint.AFTER_PLTE_BEFORE_IDAT); }
internal bool mustGoBeforeIDAT() { ChunkOrderingConstraint orderingConstraint = GetOrderingConstraint(); if (orderingConstraint != ChunkOrderingConstraint.BEFORE_IDAT && orderingConstraint != ChunkOrderingConstraint.BEFORE_PLTE_AND_IDAT) { return(orderingConstraint == ChunkOrderingConstraint.AFTER_PLTE_BEFORE_IDAT); } return(true); }