Getter for unsigned int value

Use bitwise operator rather than new buffer object.