Cascade
Loading...
Searching...
No Matches
Buzzware.Cascade.IBlobConverter Interface Reference

Interface for blob conversion within the Cascade library. Responsible for converting binary data to a specified type. More...

Public Member Functions

object? Convert (byte[]? blob, Type destinationPropertyType)
 Converts a blob of binary data into an instance of the specified destination type.

Detailed Description

Interface for blob conversion within the Cascade library. Responsible for converting binary data to a specified type.

Member Function Documentation

◆ Convert()

object? Buzzware.Cascade.IBlobConverter.Convert ( byte?[] blob,
Type destinationPropertyType )

Converts a blob of binary data into an instance of the specified destination type.

Parameters
blobThe binary data to be converted. Can be null if there is no data to convert.
destinationPropertyTypeThe target type to convert the binary data into.
Returns
The converted object, or null if the conversion cannot be performed.

The documentation for this interface was generated from the following file:
  • Buzzware.Cascade/interfaces/IBlobConverter.cs