A codec for a specific map field.
This contains all the information required to encode and decode the nested messages.
Constructors and Destructors |
|
---|---|
Codec(FieldCodec< TKey > keyCodec, FieldCodec< TValue > valueCodec, uint mapTag)
Creates a new entry codec based on a separate key codec and value codec, and the tag to use for each map entry.
|
Properties |
|
---|---|
MapTag
|
uint
The tag used in the enclosing message to indicate map entries.
|
uint MapTag
The tag used in the enclosing message to indicate map entries.
Codec( FieldCodec< TKey > keyCodec, FieldCodec< TValue > valueCodec, uint mapTag )
Creates a new entry codec based on a separate key codec and value codec, and the tag to use for each map entry.
Details | |||||||
---|---|---|---|---|---|---|---|
Parameters |
|