diff options
| author | LukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com> | 2012-08-23 08:26:08 -0400 |
|---|---|---|
| committer | LukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com> | 2012-08-23 08:26:08 -0400 |
| commit | ef039884427f1239fa2786d59dd17e80b7fbbf2d (patch) | |
| tree | fac52241656f98f0af53b67bc1ee79f6377016ee /MediaBrowser.Common/Serialization/ProtobufSerializer.cs | |
| parent | c80c8c1cfd594f2597e46b09d44360ade9f4fec2 (diff) | |
comments and don't run internet providers on startup
Diffstat (limited to 'MediaBrowser.Common/Serialization/ProtobufSerializer.cs')
| -rw-r--r-- | MediaBrowser.Common/Serialization/ProtobufSerializer.cs | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/MediaBrowser.Common/Serialization/ProtobufSerializer.cs b/MediaBrowser.Common/Serialization/ProtobufSerializer.cs index 9737c9b59..701ef7029 100644 --- a/MediaBrowser.Common/Serialization/ProtobufSerializer.cs +++ b/MediaBrowser.Common/Serialization/ProtobufSerializer.cs @@ -1,12 +1,11 @@ -using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.IO;
+using System.IO;
namespace MediaBrowser.Common.Serialization
{
+ /// <summary>
+ /// Protocol buffers is google's binary serialization format. This is a .NET implementation of it.
+ /// You have to tag your classes with some annoying attributes, but in return you get the fastest serialization around with the smallest possible output.
+ /// </summary>
public static class ProtobufSerializer
{
public static void SerializeToStream<T>(T obj, Stream stream)
|
