नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
Syntax
Binary.From(value as any, optional encoding as nullable number) as nullable binary
About
Returns a binary value from the given value. If the given value is null, Binary.From returns null. If the given value is binary, value is returned. Values of the following types can be converted to a binary value:
text: Abinaryvalue from the text representation. Refer to Binary.FromText for details.
If value is of any other type, an error is returned.
Example 1
Get the binary value of "1011".
Usage
Binary.From("1011")
Output
Binary.FromText("1011", BinaryEncoding.Base64)