|
ByteExtensionsToByteArray Method |
Convert from a base64 sequence to a byte sequence
Namespace: DrawerBackup.Native.ExtensionsAssembly: DrawerBackup.Native (in DrawerBackup.Native.dll) Version: 0.0.1.1 (0.0.1.1)
Syntaxpublic static byte[] ToByteArray(
this string data
)
<ExtensionAttribute>
Public Shared Function ToByteArray (
data As String
) As Byte()
public:
[ExtensionAttribute]
static array<unsigned char>^ ToByteArray(
String^ data
)
[<ExtensionAttribute>]
static member ToByteArray :
data : string -> byte[]
Parameters
- data
- Type: SystemString
Return Value
Type:
ByteUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String. 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).
See Also