Merge codec and tape packages
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user