c# - How do I wrap a primitive data type like int to uint8_t? -


i need able wrap primitive data type. i'm not sure how proceed. using clause (as below) works fine if 1 file, need able use in whole project.

eg.

using int8_t = system.sbyte; using uint8_t = system.byte; using int16_t = system.int16; using uint16_t = system.uint16; 

any appreciated.

updated comments:

we using enterprise architect generate our code (c#, c++, java). , need code bases same. need able wrap base types able that. c/c++ easy, use "typedef short int16_t;". need able in c# well.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -