Class ByteArrayExtensions
Inheritance
System.Object
ByteArrayExtensions
Assembly: GCore.dll
Syntax
public static class ByteArrayExtensions : object
Methods
|
Improve this Doc
View Source
AppendByteArray(Byte[], Byte[])
Fügt den übergebenen Array ab.
Declaration
public static byte[] AppendByteArray(this byte[] data, byte[] a)
Parameters
Type |
Name |
Description |
System.Byte[] |
data |
|
System.Byte[] |
a |
|
Returns
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
Deserialisiert die Daten zu einem Object
Declaration
public static object DeSerialize(this byte[] data, ByteArrayExtensions.DataFormatType format)
Parameters
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
GetHash(Byte[])
Gibt den Hash-Wehrt der Array-Daten zurück.
Declaration
public static string GetHash(this byte[] this_)
Parameters
Type |
Name |
Description |
System.Byte[] |
this_ |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
SaveToFile(Byte[], String)
Schreibt die Daten in eine Datei.
Declaration
public static bool SaveToFile(this byte[] data, string file)
Parameters
Type |
Name |
Description |
System.Byte[] |
data |
|
System.String |
file |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ToUTF8String(Byte[])
Konvertiert in einen UTF8 String
Declaration
public static string ToUTF8String(this byte[] data)
Parameters
Type |
Name |
Description |
System.Byte[] |
data |
|
Returns
Type |
Description |
System.String |
|