Azinix

Rlp_ByteTestAttribute_t Struct Reference

Byte test operation. More...

#include <rlp.h>


Data Fields

int bytesToConvert
char check
int value
int offset
bool relative
bool useLittleEndian
bool isString
bool isHex
bool isDec
bool isOct


Detailed Description

Byte test operation.

Byte test operation. Test a byte field against a specific value (with operator).

All Examples:

  byte_test:1,>,6,2
  byte_test:1,>,7,1
  byte_test:2,>,1024,0,relative,little
  byte_test:4,>,100,20,relative
  byte_test:4,>,1000,28,relative
  byte_test:4,>,1024,20,relative
  byte_test:4,>,128,20,relative
  byte_test:4,>,128,8,relative
  byte_test:4,>,512,16,relative
  byte_test:4,>,512,240,relative
  byte_test:5,>,256,0,string,dec,relative 
  

Format

  	byte_test: <bytes_to_convert>, <operator>, 

, <offset> \
  	[, [relative],[big],[little],[string],[hex],[dec],[oct]

Definition at line 257 of file rlp.h.


Field Documentation

int Rlp_ByteTestAttribute_t::bytesToConvert

Definition at line 259 of file rlp.h.

char Rlp_ByteTestAttribute_t::check

Definition at line 260 of file rlp.h.

int Rlp_ByteTestAttribute_t::value

Definition at line 261 of file rlp.h.

int Rlp_ByteTestAttribute_t::offset

Definition at line 262 of file rlp.h.

bool Rlp_ByteTestAttribute_t::relative

Definition at line 263 of file rlp.h.

bool Rlp_ByteTestAttribute_t::useLittleEndian

Definition at line 264 of file rlp.h.

bool Rlp_ByteTestAttribute_t::isString

Definition at line 265 of file rlp.h.

bool Rlp_ByteTestAttribute_t::isHex

Definition at line 266 of file rlp.h.

bool Rlp_ByteTestAttribute_t::isDec

Definition at line 267 of file rlp.h.

bool Rlp_ByteTestAttribute_t::isOct

Definition at line 268 of file rlp.h.