v1.0.1
FIX: * Cleaned up some documentation
This commit is contained in:
@@ -189,8 +189,8 @@ func (r *ResponseRecordGroup) 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 need to be written to recBuf, though.
|
||||
if _, err = io.CopyN(recBuf, buf, int64(PackedNumSize)); err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user