diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2022-05-30 12:00:39 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2022-05-30 12:00:39 -0400 |
commit | 8576e5f207f9d3b7c6324ed71a3ca6a005f9ae7c (patch) | |
tree | 1ff3001f73011a96aa603ec2eda7d29ce4885d47 /pkg/binstruct/l1.go | |
parent | 04d6677e52352a7e3ec791e3e817cfe3865e7d6d (diff) |
ahhhh
Diffstat (limited to 'pkg/binstruct/l1.go')
-rw-r--r-- | pkg/binstruct/l1.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/binstruct/l1.go b/pkg/binstruct/l1.go index 367dd28..4464f51 100644 --- a/pkg/binstruct/l1.go +++ b/pkg/binstruct/l1.go @@ -1,3 +1,6 @@ +//go:build old +// +build old + package binstruct import ( @@ -7,19 +10,16 @@ import ( ) type Marshaler interface { - BinarySize() int64 MarshalBinary() []byte } type Unmarshaler interface { - Marshaler UnmarshalBinary([]byte) } type handler interface { Unmarshal(dat []byte) interface{} Marshal(val interface{}) []byte - Size() int64 } type extHandler struct { |