add tests for framers

This commit is contained in:
Joel Wetzell
2025-12-08 18:03:09 -06:00
parent bb78b7b08b
commit ffb39b1034
5 changed files with 123 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ type Framer interface {
Decode([]byte) [][]byte
Encode([]byte) []byte
Clear()
Buffer() []byte
}
func GetFramer(framingType string) (Framer, error) {