hopp: Bring some old decoding/encoding functions that worked on []byte back

This commit is contained in:
2025-08-20 14:27:03 -04:00
parent 52aa07a98f
commit 782472aa8f
2 changed files with 48 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ type Error string; const (
ErrIntegerOverflow Error = "integer overflow"
ErrMessageMalformed Error = "message is malformed"
ErrTablePairMissing Error = "required table pair is missing"
ErrWrongBufferLength Error = "wrong buffer length"
)
// Error implements the error interface.