public class POCMarkerSegment extends MarkerSegment
Constructor and Description |
---|
POCMarkerSegment() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
process(int bytesToEat)
Process the marker segment.
|
getMainOrTile, isMarker, markerSegmentMaker, nCompBytes, readMarkLen, setCodestream, setContCodestream, setDataInputStream, setModule, setRepInfo
protected boolean process(int bytesToEat) throws IOException
process
method must consume exactly the number
of bytes remaining in the marker segment.process
in class MarkerSegment
bytesToEat
- The number of bytes that must be consumed.
If it is 0 for a MarkerSegment, the
number of bytes to consume is unknown.true
if segment is well-formed,
false
otherwise.IOException
Copyright © 2008–2017 The Open Preservation Foundation. All rights reserved.