ICustomDataTypeAdapter.Decode()
Method
Visual Basic
FunctionDecode(
ByVal bytes As Byte() )
As ICustomDataType
C#
ICustomDataTypeDecode(
byte[] bytes);
Purpose
Decode a byte array to produce a custom datatype.
Remarks
When this method successfully decodes the data, it must return the decoding as a .NET object—namely, an instance of the custom datatype. When this method cannot decode the data, it must return null.
|
Parameter |
Description |
|
Decode the data contained in this byte array. This argument cannot be null. However, it can be a byte array with length zero. |