Click or drag to resize
weroSoft AG, Software
BinaryConverter Class
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Provides some methods for handling binary data.
Inheritance Hierarchy
SystemObject
  WeroSoft.RuntimeBinaryConverter

Namespace:  WeroSoft.Runtime
Assembly:  WeroSoft.Core.Library (in WeroSoft.Core.Library.dll) Version: 3.0 Pre-Release
Syntax
C#
public static class BinaryConverter
Remarks
The binary converter provides method-pairs for converting data into strings and back. There are three different method pairs.
  • File to string and from string to file.
  • Non strong typed object to string and from string to defined object type.
  • Strong typed object to string and from string to object type.
The used strings are always handled as base 64 coded.

The BinaryConverter type exposes the following members.

Methods
  NameDescription
Public methodStatic memberConvertFromFile
Converts the content of a file into a base 64 coded string.
Public methodStatic memberConvertFromObject(Object)
Converts an arbitrary serialize able object to a base 64 encoded string.
Public methodStatic memberConvertFromObject(Type, Object)
Converts an arbitrary serialize able object to a base 64 encoded string.
Public methodStatic memberConvertFromString(String)
Converts an arbitrary serialize able object from a base 64 encoded string.
Public methodStatic memberConvertFromStringT(String)
Converts an arbitrary serialize able object from a base 64 encoded string.
Public methodStatic memberConvertToFile
Converts the content of a base 64 encoded string to a binary file content.
Top
See Also