// TODO: Avoid the "dual hit" of lambda expressions: create open delegates instead. (At least test...) /// <summary> /// Retrieves a codec suitable for a string field with the given tag. /// </summary> /// <param name="tag">The tag.</param> /// <returns>A codec for the given tag.</returns> public static FieldCodec <string> ForString(uint tag) { return(FieldCodec.ForString(tag, "")); }