make encoding-stuff quack like a duck

(And that duck's name is .NET)