To improve the codecs scalability the byte encoding standard should be passed as a parameter into the codec. The bit resolution of a given codec depends on the byte encoding standard. For example if uff-8 is used then each string character will translate to a byte of data but for utf-16 each character is allocated 2 bytes etc..