aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/Google.Protobuf/CodedOutputStream.cs
diff options
context:
space:
mode:
authorJon Skeet <skeet@pobox.com>2015-08-05 07:09:17 +0100
committerJon Skeet <skeet@pobox.com>2015-08-05 07:09:17 +0100
commitd77d70d227b648ac8c36183ac9d85cf39f782978 (patch)
tree7763ffd6be6c84baa68431035b1e87fbc4c1d986 /csharp/src/Google.Protobuf/CodedOutputStream.cs
parent95910f1c7dfa95b329c0b25a1b9beedbdc133800 (diff)
parent30e8157550e02625bb4a4fa93153442d6e454709 (diff)
downloadprotobuf-d77d70d227b648ac8c36183ac9d85cf39f782978.tar.gz
protobuf-d77d70d227b648ac8c36183ac9d85cf39f782978.tar.bz2
protobuf-d77d70d227b648ac8c36183ac9d85cf39f782978.zip
Merge pull request #691 from jskeet/xml-documentation
Document everything, and turn on errors if we fail to document anything in the future
Diffstat (limited to 'csharp/src/Google.Protobuf/CodedOutputStream.cs')
-rw-r--r--csharp/src/Google.Protobuf/CodedOutputStream.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/csharp/src/Google.Protobuf/CodedOutputStream.cs b/csharp/src/Google.Protobuf/CodedOutputStream.cs
index b084c14f..08ea7005 100644
--- a/csharp/src/Google.Protobuf/CodedOutputStream.cs
+++ b/csharp/src/Google.Protobuf/CodedOutputStream.cs
@@ -297,6 +297,10 @@ namespace Google.Protobuf
WriteInt32(value);
}
+ /// <summary>
+ /// Writes an sfixed32 value, without a tag, to the stream.
+ /// </summary>
+ /// <param name="value">The value to write.</param>
public void WriteSFixed32(int value)
{
WriteRawLittleEndian32((uint) value);
@@ -649,6 +653,9 @@ namespace Google.Protobuf
}
}
+ /// <summary>
+ /// Flushes any buffered data to the underlying stream (if there is one).
+ /// </summary>
public void Flush()
{
if (output != null)