Merge codec and tape packages

This commit is contained in:
2025-06-20 15:55:37 -04:00
parent ce503c4689
commit 285e83d995
7 changed files with 27 additions and 17 deletions

View File

@@ -2,7 +2,6 @@ package tape
import "fmt"
import "reflect"
import "git.tebibyte.media/sashakoshka/hopp/codec"
// EncodeAny encodes an "any" value. Returns an error if the underlying type is
// unsupported. Supported types are:
@@ -14,7 +13,7 @@ import "git.tebibyte.media/sashakoshka/hopp/codec"
// - string
// - []<supported type>
// - map[uint16]<supported type>
func EncodeAny(encoder *codec.Encoder, value any) (Tag, error) {
func EncodeAny(encoder *Encoder, value any) (Tag, error) {
// TODO
}