Class ConverterCreationExtensions
- Namespace
- FlameCsv.Converters
- Assembly
- FlameCsv.Core.dll
Provides extensions to create converters for the source generator.
[EditorBrowsable(EditorBrowsableState.Never)]
public static class ConverterCreationExtensions
- Inheritance
-
objectConverterCreationExtensions
Methods
CreateUtf16<TValue>(CsvOptions<char>)
Creates a UTF-16 converter for a type that implements ISpanParsable<TSelf> and ISpanFormattable.
[EditorBrowsable(EditorBrowsableState.Never)]
public static CsvConverter<char, TValue> CreateUtf16<TValue>(CsvOptions<char> options) where TValue : ISpanParsable<TValue>, ISpanFormattable
Parameters
options
CsvOptions<char>
Returns
- CsvConverter<char, TValue>
Type Parameters
TValue
CreateUtf8Formattable<TValue>(CsvOptions<byte>)
Creates a UTF-8 converter for a type that implements ISpanParsable<TSelf> and IUtf8SpanFormattable.
[EditorBrowsable(EditorBrowsableState.Never)]
public static CsvConverter<byte, TValue> CreateUtf8Formattable<TValue>(CsvOptions<byte> options) where TValue : ISpanParsable<TValue>, IUtf8SpanFormattable
Parameters
options
CsvOptions<byte>
Returns
- CsvConverter<byte, TValue>
Type Parameters
TValue
CreateUtf8Parsable<TValue>(CsvOptions<byte>)
Creates a converter for a type that implements ISpanParsable<TSelf> and ISpanFormattable.
[EditorBrowsable(EditorBrowsableState.Never)]
public static CsvConverter<byte, TValue> CreateUtf8Parsable<TValue>(CsvOptions<byte> options) where TValue : IUtf8SpanParsable<TValue>, ISpanFormattable
Parameters
options
CsvOptions<byte>
Returns
- CsvConverter<byte, TValue>
Type Parameters
TValue
CreateUtf8Transcoded<TValue>(CsvOptions<byte>)
Creates a UTF-8 converter for a type that implements ISpanParsable<TSelf> and ISpanFormattable.
[EditorBrowsable(EditorBrowsableState.Never)]
public static CsvConverter<byte, TValue> CreateUtf8Transcoded<TValue>(CsvOptions<byte> options) where TValue : ISpanParsable<TValue>, ISpanFormattable
Parameters
options
CsvOptions<byte>
Returns
- CsvConverter<byte, TValue>
Type Parameters
TValue
CreateUtf8<TValue>(CsvOptions<byte>)
Creates a UTF-8 converter for a type that implements IUtf8SpanParsable<TSelf> and IUtf8SpanFormattable.
[EditorBrowsable(EditorBrowsableState.Never)]
public static CsvConverter<byte, TValue> CreateUtf8<TValue>(CsvOptions<byte> options) where TValue : IUtf8SpanParsable<TValue>, IUtf8SpanFormattable
Parameters
options
CsvOptions<byte>
Returns
- CsvConverter<byte, TValue>
Type Parameters
TValue