C# (CSharp) Google.ProtocolBuffers Пространство имен

Пространства имен

Google.ProtocolBuffers.ProtoGen

Классы

Имя Описание
CodedInputStream Readings and decodes protocol message fields.
CodedOutputStream Encodes and writes protocol message fields.
CodedOutputStream.OutOfSpaceException Indicates that a CodedOutputStream wrapping a flat byte array ran out of space.
DynamicMessageTest
FieldSet A class which represents an arbitrary set of fields of some message type. This is used to implement DynamicMessage, and also to represent extensions in GeneratedMessage. This class is internal, since outside users should probably be using DynamicMessage. As in the Java implementation, this class goes against the rest of the framework in terms of mutability. Instead of having a mutable Builder class and an immutable FieldSet class, FieldSet just has a MakeImmutable() method. This is safe so long as all callers are careful not to let a mutable FieldSet escape into the open. This would be impossible to guarantee if this were a public class, of course. All repeated fields are stored as IList[object] even TODO(jonskeet): Finish this comment!
MessageTest Miscellaneous tests for message operations that apply to both generated and dynamic messages.
ReflectionTester Performs the same things that the methods of TestUtil do, but via the reflection interface. This is its own class because it needs to know what descriptor to use.
TextFormat Provides ASCII text formatting support for messages. TODO(jonskeet): Support for alternative line endings. (Easy to print, via TextGenerator. Not sure about parsing.)
TextGenerator Helper class to control indentation. Used for TextFormat and by ProtoGen.