code: def RegisterCustomFieldCodec(encoder, decoder):
      
      def Register(field):
          _CUSTOM_FIELD_CODECS[field] = _Codec(encoder=encoder, decoder=decoder)
          return field
      return Register
docs: Register a custom encoder/decoder for this field.