StringBuilderExtensionAppendBase64(StringBuilder, IEnumerableByte, Base64FormattingOptions) Method
Appends the content of a
Byte collection as Base64-encoded
character sequence to the end of a
StringBuilder.
Namespace: FolkerKinzel.StringsAssembly: FolkerKinzel.Strings (in FolkerKinzel.Strings.dll) Version: 9.4.0+10a7d4d71aa960998e32ac0ac6c4fcbe4164c917
public static StringBuilder AppendBase64(
this StringBuilder builder,
IEnumerable<byte>? bytes,
Base64FormattingOptions options = Base64FormattingOptions.None
)
<ExtensionAttribute>
Public Shared Function AppendBase64 (
builder As StringBuilder,
bytes As IEnumerable(Of Byte),
Optional options As Base64FormattingOptions = Base64FormattingOptions.None
) As StringBuilder
public:
[ExtensionAttribute]
static StringBuilder^ AppendBase64(
StringBuilder^ builder,
IEnumerable<unsigned char>^ bytes,
Base64FormattingOptions options = Base64FormattingOptions::None
)
[<ExtensionAttribute>]
static member AppendBase64 :
builder : StringBuilder *
bytes : IEnumerable<byte> *
?options : Base64FormattingOptions
(* Defaults:
let _options = defaultArg options Base64FormattingOptions.None
*)
-> StringBuilder
- builder StringBuilder
- The StringBuilder to which the characters are
appended.
- bytes IEnumerableByte
- The Byte collection that contains the data, or
null.
- options Base64FormattingOptions (Optional)
- An enumeration value that allows specifying whether line breaks
should be automatically inserted into the Base64.
StringBuilderA reference to
builder after the append operation has
completed.In Visual Basic and C#, you can call this method as an instance method on any object of type
StringBuilder. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).