Fixed an edge case in ByteCountingStream that affected reporting accuracy in streams that implement Read/Write by calling ReadByte/WriteByte.
Formatting and comment improvements, particularly in NbtSerializationGen