Added comments
This commit is contained in:
parent
ee87d1f792
commit
0460c35e2e
@ -147,6 +147,7 @@ class DnsOutput {
|
|||||||
byteBuf.ensureWritable(2);
|
byteBuf.ensureWritable(2);
|
||||||
byteBuf.writeShort(val);
|
byteBuf.writeShort(val);
|
||||||
|
|
||||||
|
// put the read/write back to where it was (since this was an operation to write a value at a specific position)
|
||||||
byteBuf.writerIndex(saved);
|
byteBuf.writerIndex(saved);
|
||||||
byteBuf.readerIndex(readSaved);
|
byteBuf.readerIndex(readSaved);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user