if (type.length == 2) { uint32 i = (data[0] << 8)+(data[1] << 0); printf("%d",i); return; } if (type.length == 4) { uint32 i = (data[0] << 24)+(data[1] << 16)+(data[2] << 8)+(data[3] << 0); printf("%d",i); return; } if (type.length == 8) { uint32 i = (data[0] << 24)+(data[1] << 16)+(data[2] << 8)+(data[3] << 0); uint32 j = (data[4] << 24)+(data[5] << 16)+(data[6] << 8)+(data[7] << 0); printf("%d'%d",i,j); return; }  errorf("Uint with length %d unparseable", type.length);
static void printUint(FieldType type, FieldData* data) {	if (type.length == 1) {		uint32 i = (data[0] << 0);		printf("%d",i);				return;		}	if (type.length == 2) {		uint32 i = (data[0] << 8)+(data[1] << 0);		printf("%d",i);				return;		}	if (type.length == 4) {		uint32 i = (data[0] << 24)+(data[1] << 16)+(data[2] << 8)+(data[3] << 0);		printf("%d",i);				return;		}	if (type.length == 8) {		uint32 i = (data[0] << 24)+(data[1] << 16)+(data[2] << 8)+(data[3] << 0);		uint32 j = (data[4] << 24)+(data[5] << 16)+(data[6] << 8)+(data[7] << 0);		printf("%d'%d",i,j);		return;		}		errorf("Uint with length %d unparseable", type.length);	}