b201877734
Motivation: We have some duplicated code that can be reused. Modifications: Create package private class called CodecUtil that now contains the shared code / helper method. Result: Less code-duplication