moved encode to codec.go file, made it public and added a Decode function as well
moved encode to codec.go file, made it public and added a Decode function as well

johnko/kurz.go,johnko/kurz.go,johnko/kurz.go,fs111/kurz.go,fs111/kurz.go,johnko/kurz.go,fs111/kurz.go,fs111/kurz.go