public void decode(byte[] bytes, int pos) { if (bytes == null) { return; } m_SubFields = BitConverter.ToUInt32(JausUtils.getFromBuffer(bytes, pos, JausUtils.UINT_BYTES, false), 0); pos += JausUtils.UINT_BYTES; }
public void decode(byte[] bytes, int pos) { if (bytes == null) { return; } m_MessageID = BitConverter.ToUInt16(JausUtils.getFromBuffer(bytes, pos, JausUtils.USHORT_BYTES, false), 0); pos += JausUtils.USHORT_BYTES; }
public void decode(byte[] bytes, int pos) { if (bytes == null) { return; } m_Status = bytes[pos]; pos += JausUtils.BYTE_BYTES; m_Reserved = BitConverter.ToUInt32(JausUtils.getFromBuffer(bytes, pos, JausUtils.UINT_BYTES, false), 0); pos += JausUtils.UINT_BYTES; }
public void decode(byte[] bytes, int pos) { if (bytes == null) { return; } m_RequestID = bytes[pos]; pos += JausUtils.BYTE_BYTES; m_MaximumAllowedDuration = BitConverter.ToUInt32(JausUtils.getFromBuffer(bytes, pos, JausUtils.UINT_BYTES, false), 0); pos += JausUtils.UINT_BYTES; m_CommandMessage.decode(bytes, pos); pos += m_CommandMessage.getSize(); }
public void decode(byte[] bytes, int pos) { if (bytes == null) { return; } m_RequestID = bytes[pos]; pos += JausUtils.BYTE_BYTES; m_EventID = bytes[pos]; pos += JausUtils.BYTE_BYTES; m_ConfirmedPeriodicRate = BitConverter.ToUInt16(JausUtils.getFromBuffer(bytes, pos, JausUtils.USHORT_BYTES, false), 0); pos += JausUtils.USHORT_BYTES; }
public void decode(byte[] bytes, int pos) { if (bytes == null) { return; } m_RequestID = bytes[pos]; pos += JausUtils.BYTE_BYTES; m_EventType = bytes[pos]; pos += JausUtils.BYTE_BYTES; m_RequestedPeriodicRate = BitConverter.ToUInt16(JausUtils.getFromBuffer(bytes, pos, JausUtils.USHORT_BYTES, false), 0); pos += JausUtils.USHORT_BYTES; m_QueryMessage.decode(bytes, pos); pos += m_QueryMessage.getSize(); }
public void decode(byte[] bytes, int pos) { if (bytes == null) { return; } m_SubsystemID = BitConverter.ToUInt16(JausUtils.getFromBuffer(bytes, pos, JausUtils.USHORT_BYTES, false), 0); pos += JausUtils.USHORT_BYTES; m_NodeID = bytes[pos]; pos += JausUtils.BYTE_BYTES; m_ComponentID = bytes[pos]; pos += JausUtils.BYTE_BYTES; m_AuthorityCode = bytes[pos]; pos += JausUtils.BYTE_BYTES; }
public void decode(byte[] bytes, int pos) { if (bytes == null) { return; } m_Length = BitConverter.ToUInt32(JausUtils.getFromBuffer(bytes, pos, JausUtils.UINT_BYTES, false), 0); pos += JausUtils.UINT_BYTES; m_Data = null; if (m_Length > 0) { m_Data = new byte[(int)m_Length]; m_Data = JausUtils.getFromBuffer(bytes, pos, (int)m_Length, true); pos += (int)m_Length; } }
public void decode(byte[] bytes, int pos) { if (bytes == null) { return; } byte m_URILength = 0; m_URILength = bytes[pos]; pos += JausUtils.BYTE_BYTES; m_URI = JausUtils.getFromBuffer(bytes, pos, (int)m_URILength, true, false); pos += (int)m_URILength; m_MajorVersionNumber = bytes[pos]; pos += JausUtils.BYTE_BYTES; m_MinorVersionNumber = bytes[pos]; pos += JausUtils.BYTE_BYTES; }
public void decode(byte[] bytes, int pos) { if (bytes == null) { return; } m_QueryType = bytes[pos]; pos += JausUtils.BYTE_BYTES; m_Type = BitConverter.ToUInt16(JausUtils.getFromBuffer(bytes, pos, JausUtils.USHORT_BYTES, false), 0); pos += JausUtils.USHORT_BYTES; byte m_IdentificationLength = 0; m_IdentificationLength = bytes[pos]; pos += JausUtils.BYTE_BYTES; m_Identification = JausUtils.getFromBuffer(bytes, pos, (int)m_IdentificationLength, true, false); pos += (int)m_IdentificationLength; }
public void decode(byte[] bytes, int pos) { if (bytes == null) { return; } m_PresenceVector = bytes[pos]; pos += JausUtils.BYTE_BYTES; m_RequestID = bytes[pos]; pos += JausUtils.BYTE_BYTES; if (checkPresenceVector(0)) { m_ResponseCode = bytes[pos]; pos += JausUtils.BYTE_BYTES; } if (checkPresenceVector(1)) { m_ErrorMessage = JausUtils.getFromBuffer(bytes, pos, (int)80, true, false); pos += (int)80; } }