def load_uint_b(buffer, width):
result = <NUM_LIT:0><EOL>for idx in range(width):<EOL><INDENT>result += buffer[idx] << (<NUM_LIT:8> * idx)<EOL><DEDENT>return result<EOL>
Loads fixed size integer from the buffer
:param buffer:
:return: