Beispiel #1
0
 /// <summary>
 /// Retrieves a codec suitable for a bytes field with the given tag.
 /// </summary>
 /// <param name="tag">The tag.</param>
 /// <returns>A codec for the given tag.</returns>
 public static FieldCodec <ByteString> ForBytes(uint tag)
 {
     return(FieldCodec.ForBytes(tag, ByteString.Empty));
 }