Support the byte-length mode

DESC: F
Merge branch 'develop' into build