new CSharp codec - still in progress