typedef struct bgByteArray2D
{
short firLength;
short* secLength1V;
byte** data;
}BGByteArray2D;
typedef BGByteArray2D* ByteArray2D;
typedef struct bgByteArray3D
{
short firLength;
short* secLength1V;
short** thiLength2V;
byte*** data;
}BGByteArray3D;
typedef BGByteArray3D* ByteArray3D;
/************************************************************************/
/*
*/
/************************************************************************/
typedef struct bgShortArray2D
{
short firLength;
short* secLength1V;
short** data;
}BGShortArray2D;
typedef BGShortArray2D* ShortArray2D;
typedef struct bgShortArray3D
{
short firLength;
short* secLength1V;
short** thiLength2V;
short*** data;
}BGShortArray3D;
typedef BGShortArray3D* ShortArray3D;
/************************************************************************/
/*
*/
/************************************************************************/
typedef struct bgIntArray2D
{
short firLength;
short* secLength1V;
int** data;
}BGIntArray2D;
typedef BGIntArray2D* IntArray2D;
typedef struct bgIntArray3D
{
short firLength;
short* secLength1V;
short** thiLength2V;
int*** data;
}BGIntArray3D;
typedef BGIntArray3D* IntArray3D;
ByteArray2D readByteArray2D(ubyte* input);
void writeByteArray2D(ByteArray2D byteArray2D);
ByteArray3D readByteArray3D(ubyte* input);
void writeByteArray3D(ByteArray3D byteArray3D);
ShortArray2D readShortArray2D(ubyte* input);
void writeShortArray2D(ShortArray2D shortArray2D);
ShortArray3D readShortArray3D(ubyte* input);
void writeShortArray3D(ShortArray3D shortArray3D);
IntArray2D readIntArray2D(ubyte* input);
void writeIntArray2D(IntArray2D intArray2D);
IntArray3D readIntArray3D(ubyte* input);
void writeIntArray3D(IntArray3D intArray3D);