public string GetOutput(byte[] bytes) { if (bytes == null) { return(null); } var bytesReversed = ByteArrayUtils.ReverseBytes10(bytes); return(ByteArrayUtils.ByteArrayAsInt16(bytesReversed)); }
public string GetOutput(byte[] bytes) { if (bytes == null) { return(null); } var bytesNormalized = ByteArrayUtils.NormalizeTo2Bytes(bytes); return(ByteArrayUtils.ByteArrayAsInt16(bytesNormalized)); }