private BytesToWord ( byte input, int inOff ) : int | ||
input | byte | |
inOff | int | |
return | int |
private int BytesToWord(
byte[] input,
int inOff)
{
return ((input[inOff] << 8) & 0xff00) + (input[inOff + 1] & 0xff);
}
private void WordToBytes(