![]()  | 
  
    P4C
    
   The P4 Compiler 
   | 
 
Static Public Member Functions | |
| template<typename T > | |
| static T | op (T data) | 
Reflects/reverse n-bit number bit-by-bit. Note that it also solves as a slicing cast in the main calculation loop, where it extracts and reflect lowest byte. Written as templated function inside non-teplated class to allow passing the entire thing into crcGeneric and them templating it with two different types inside.