int Comm.Pack(Object inbuf, int offset, int incount, Datatype datatype, byte [] outbuf, int position)
inbuf | input buffer array |
offset | initial offset in input buffer |
incount | number of items in input buffer |
datatype | datatype of each item in input buffer |
outbuf | output buffer |
position | initial position in ouput buffer |
returns: | final position in output buffer |
int Comm.Unpack(byte [] inbuf, int position, Object outbuf, int offset, int outcount, Datatype datatype)
inbuf | input buffer |
position | initial position in input buffer |
outbuf | output buffer array |
offset | initial offset in output buffer |
outcount | number of items in output buffer |
datatype | datatype of each item in output buffer |
returns: | final position in input buffer |
int Comm.Pack_size(int incount, Datatype datatype)
incount | number of items in input buffer |
datatype | datatype of each item in input buffer |
returns: | upper bound on size of packed message |