Decided against externing read/write_uintX_bigendian(); therefore dropped redundant bit number check therein.
Corrected unused bit number check.