Primary encoding/decoding bottleneck for the library.
Will delegate to the proper encoding/decoding functions based upon name