com.jmatio.common
Class MatDataTypes
java.lang.Object
com.jmatio.common.MatDataTypes
public class MatDataTypes
- extends Object
MAT-file data types
- Author:
- Wojciech Gradkowski
Method Summary |
static int |
sizeOf(int type)
Return number of bytes for given type. |
static String |
typeToString(int type)
Get String representation of a data type |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
miUNKNOWN
public static final int miUNKNOWN
- See Also:
- Constant Field Values
miINT8
public static final int miINT8
- See Also:
- Constant Field Values
miUINT8
public static final int miUINT8
- See Also:
- Constant Field Values
miINT16
public static final int miINT16
- See Also:
- Constant Field Values
miUINT16
public static final int miUINT16
- See Also:
- Constant Field Values
miINT32
public static final int miINT32
- See Also:
- Constant Field Values
miUINT32
public static final int miUINT32
- See Also:
- Constant Field Values
miSINGLE
public static final int miSINGLE
- See Also:
- Constant Field Values
miDOUBLE
public static final int miDOUBLE
- See Also:
- Constant Field Values
miINT64
public static final int miINT64
- See Also:
- Constant Field Values
miUINT64
public static final int miUINT64
- See Also:
- Constant Field Values
miMATRIX
public static final int miMATRIX
- See Also:
- Constant Field Values
miCOMPRESSED
public static final int miCOMPRESSED
- See Also:
- Constant Field Values
miUTF8
public static final int miUTF8
- See Also:
- Constant Field Values
miUTF16
public static final int miUTF16
- See Also:
- Constant Field Values
miUTF32
public static final int miUTF32
- See Also:
- Constant Field Values
miSIZE_INT32
public static final int miSIZE_INT32
- See Also:
- Constant Field Values
miSIZE_INT16
public static final int miSIZE_INT16
- See Also:
- Constant Field Values
miSIZE_INT8
public static final int miSIZE_INT8
- See Also:
- Constant Field Values
miSIZE_UINT32
public static final int miSIZE_UINT32
- See Also:
- Constant Field Values
miSIZE_UINT16
public static final int miSIZE_UINT16
- See Also:
- Constant Field Values
miSIZE_UINT8
public static final int miSIZE_UINT8
- See Also:
- Constant Field Values
miSIZE_DOUBLE
public static final int miSIZE_DOUBLE
- See Also:
- Constant Field Values
miSIZE_CHAR
public static final int miSIZE_CHAR
- See Also:
- Constant Field Values
MatDataTypes
public MatDataTypes()
sizeOf
public static int sizeOf(int type)
- Return number of bytes for given type.
- Parameters:
type
- - MatDataTypes
- Returns:
typeToString
public static String typeToString(int type)
- Get String representation of a data type
- Parameters:
type
- - data type
- Returns:
- - String representation
Copyright © 2006–2014 GeoSolutions. All rights reserved.