diff --git a/codec/codec.go b/codec/codec.go index 4b17d0d..d7c79d7 100644 --- a/codec/codec.go +++ b/codec/codec.go @@ -9,7 +9,7 @@ import ( "github.com/golang/protobuf/proto" ) -// Codec defines the codec specification for data +// Codec 定义了编解码的通用标准 type Codec interface { Encode([]byte) ([]byte, error) Decode([]byte) ([]byte, error)