pixelmed
Static Public Member Functions | List of all members
com.pixelmed.codec.jpeg.Utilities Class Reference

Static Public Member Functions

static String toPaddedHexString (int i, int length)
 
static String toPaddedHexString (long i, int length)
 
static final int extract8 (byte[] b, int offset)
 
static final int extract16be (byte[] b, int offset)
 
static final long extract24be (byte[] b, int offset)
 
static final long extract32be (byte[] b, int offset)
 
static final int read16be (InputStream in) throws IOException
 

Detailed Description

A class with various utitilies for handling byte and bit extraction.

Author
dclunie

Definition at line 13 of file Utilities.java.

Member Function Documentation

◆ extract16be()

static final int com.pixelmed.codec.jpeg.Utilities.extract16be ( byte []  b,
int  offset 
)
static

◆ extract24be()

static final long com.pixelmed.codec.jpeg.Utilities.extract24be ( byte []  b,
int  offset 
)
static

Definition at line 50 of file Utilities.java.

Referenced by com.pixelmed.codec.jpeg.Parse.parse().

Here is the caller graph for this function:

◆ extract32be()

static final long com.pixelmed.codec.jpeg.Utilities.extract32be ( byte []  b,
int  offset 
)
static

Definition at line 54 of file Utilities.java.

Referenced by com.pixelmed.codec.jpeg.Parse.parse().

Here is the caller graph for this function:

◆ extract8()

static final int com.pixelmed.codec.jpeg.Utilities.extract8 ( byte []  b,
int  offset 
)
static

◆ read16be()

static final int com.pixelmed.codec.jpeg.Utilities.read16be ( InputStream  in) throws IOException
static

Definition at line 58 of file Utilities.java.

References com.pixelmed.codec.jpeg.Utilities.extract16be().

Referenced by com.pixelmed.codec.jpeg.Parse.parse().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ toPaddedHexString() [1/2]

static String com.pixelmed.codec.jpeg.Utilities.toPaddedHexString ( int  i,
int  length 
)
static

Definition at line 18 of file Utilities.java.

Referenced by com.pixelmed.codec.jpeg.Parse.parse(), and com.pixelmed.codec.jpeg.MarkerSegmentAPP0JFIF.toString().

Here is the caller graph for this function:

◆ toPaddedHexString() [2/2]

static String com.pixelmed.codec.jpeg.Utilities.toPaddedHexString ( long  i,
int  length 
)
static

Definition at line 30 of file Utilities.java.