exposed maxSize property for all Codecs

@DanSimon @reeve