Implemented quickEncode, convert, mergeCodeTables, and codeBits