inline byte and word read functions to remove call overhead