C# (CSharp) Google.Protobuf Namespace

Nested Namespaces

Google.Protobuf.Examples
Google.Protobuf.ProtoDump
Google.Protobuf.Reflection
Google.Protobuf.WellKnownTypes

Сlasses

Name Description
ByteArray Provides a utility routine to copy small arrays much more quickly than Buffer.BlockCopy
ByteStringTest
CodedInputStream Readings and decodes protocol message fields.
CodedInputStreamTest
CodedInputStreamTest.SmallBlockInputStream A stream which limits the number of bytes it reads at a time. We use this to make sure that CodedInputStream doesn't screw up when reading in small blocks.
CodedOutputStream Encodes and writes protocol message fields.
CodedOutputStream.OutOfSpaceException Indicates that a CodedOutputStream wrapping a flat byte array ran out of space.
CodedOutputStreamTest
DeprecatedMemberTest
DescriptorProto
DescriptorProto.ExtensionRange
EnumDescriptorProto
EnumOptions
EnumValueDescriptorProto
EnumValueOptions
FieldDescriptorProto
FieldOptions
FileDescriptorProto
FileDescriptorSet
FileOptions
FrameworkPortability Class containing helpful workarounds for various platform compatibility
GeneratedMessageTest Tests around the generated TestAllTypes message.
InvalidProtocolBufferException Thrown when a protocol message being parsed is invalid in some way, e.g. it contains a malformed varint or a negative byte length.
IssuesTest Tests for issues which aren't easily compartmentalized into other unit tests.
JsonFormatter Reflection-based converter from messages to JSON.
JsonFormatter.OriginalEnumValueHelper
JsonFormatter.Settings Settings controlling JSON formatting.
JsonFormatterTest Tests for the JSON formatter. Note that in these tests, double quotes are replaced with apostrophes for the sake of readability (embedding \" everywhere is painful). See the AssertJson method for details.
MessageOptions
MethodDescriptorProto
MethodOptions
SampleMessages Helper methods to create sample instances of types generated from unit test messages.
ServiceDescriptorProto
ServiceOptions
SourceCodeInfo
SourceCodeInfo.Location
TestCornerCases
UninterpretedOption
UninterpretedOption.NamePart
WireFormat This class is used internally by the Protocol Buffer Library and generated message implementations. It is public only for the sake of those generated messages. Others should not use this class directly.

This class contains constants and helper functions useful for dealing with the Protocol Buffer wire format.