Add ascii encoding

This commit is contained in:
2024-07-25 16:30:02 +02:00
parent 7bcc02c66d
commit 161ff14189
5 changed files with 97 additions and 0 deletions

8
encoding/coder.go Normal file
View File

@@ -0,0 +1,8 @@
package encoding
import "bytes"
type Coder interface {
Encode(s string, buf *bytes.Buffer)
Decode(buf *bytes.Buffer) string
}