add doctests to DecodeBinary and Bitrate