Add countenvelope encoder with marshal/unmarshal support, buffer pool integration, and tests; improve error messages for subscription validation

This commit is contained in:
2025-08-30 16:26:55 +01:00
parent 6c39ea4332
commit 576475e3dc
8 changed files with 353 additions and 13 deletions

View File

@@ -297,7 +297,7 @@ InVal:
}
if len(id) != sha256.Size {
err = errorf.E(
"invalid ID, require %d got %d", sha256.Size,
"invalid Subscription, require %d got %d", sha256.Size,
len(id),
)
return