Back to product page
FromBase64 method (StreamBlob)
Imports base64 encoded data into the Blob.
Type
NoneSyntax
- Basic
object.FromBase64 Data
The FromBase64(object,Data) syntax has these parts:
The FromBase64(object,Data) syntax has these parts:
object | An expression evaluating to an object of type StreamBlob. |
Data | Required. A String value. Contains BASE64 encoded data. |
Remarks
The FromBase64 method will import BASE64 encoded data into the Blob. This can be data generated by the ToBase64 method, or data from another source.Code sample
- Basic
Dim b As New StreamBlob
Set b.Stream = ref_stream
b.FromBase64 ("c29tZXRleHQ=")
Debug.Print b
Set b.Stream = ref_stream
b.FromBase64 ("c29tZXRleHQ=")
Debug.Print b
result:
sometext