add EOSE envelope encoder with marshal/unmarshal support and tests

This commit is contained in:
2025-08-30 13:43:28 +01:00
parent 3867b87b8b
commit caf9546d1c
3 changed files with 161 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
package utils
import (
"fmt"
)
func NewSubscription(n int) []byte {
return []byte(fmt.Sprintf("sub:%d", n))
}