Package ch.randelshofer.media.jpeg
Class JFIFInputStream.Segment
java.lang.Object
ch.randelshofer.media.jpeg.JFIFInputStream.Segment
- Enclosing class:
JFIFInputStream
Represents a segment within a JFIF File.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
marker
public final int markerHolds the marker code. A marker is an unsigned short between 0xff01 and 0xfffe. -
offset
public final long offsetHolds the offset of the first data byte to the beginning of the stream. -
length
public final int lengthIf the marker starts a marker segment, holds the length of the data in the data segment. If the marker starts a entropy-coded data segment, holds the value -1.
-
-
Constructor Details
-
Segment
public Segment(int marker, long offset, int length)
-
-
Method Details