I think it should be specified somewhere in the Javadoc that sometimes `maxLimit` refers to byte count, and others to character count.