[]
        
(Showing Draft Content)

CSJ2K.Icc.ICCProfile.getShort

getShort Method

getShort(byte[], int, bool)

Create a short from a two byte [], with optional byte swapping.

Declaration
public static short getShort(byte[] bfr, int off, bool swap)
Parameters
Type Name Description
byte[] bfr

data array

int off

start of data in array

bool swap

swap bytes?

Returns
Type Description
short

native type from representation.

getShort(byte[], int)

Create a short from a two byte [].

Declaration
public static short getShort(byte[] bfr, int off)
Parameters
Type Name Description
byte[] bfr

data array

int off

start of data in array

Returns
Type Description
short

native type from representation.