FIX:
* Cleaned up some documentation
This commit is contained in:
brent saner
2024-07-10 00:40:12 -04:00
parent d4bb259b83
commit 9b39811206
8 changed files with 30 additions and 25 deletions

View File

@@ -199,8 +199,8 @@ func (r *RequestRecordGroup) UnmarshalBinary(data []byte) (err error) {
for idx := 0; idx < cnt; idx++ {
recBuf = new(bytes.Buffer)
// We skip over the KVP count; that's handled in the record Unmarshaler.
// We *do*, however, need to save it to the recBuf.
// Skip over the KVP count; that's handled in the record Unmarshaler.
// It does, however, need to be written to recBuf.
if _, err = io.CopyN(recBuf, buf, int64(PackedNumSize)); err != nil {
return
}