Create bin with a blob value. The value will be serialized by BinaryFormatter.
This method is faster than the bin object constructor because the blob is converted
directly instead of using multiple "instanceof" type checks with a blob default.
To disable this method, set DisableSerializer to true.
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.3.1.0 (5.3.1)
Syntax
C#
public static Bin AsBlob( string name, Object value )
Parameters
- name
- Type: SystemString
bin name, current limit is 14 characters. For servers configured as "single-bin", enter a null or empty name. - value
- Type: SystemObject
bin value
Return Value
Type: BinSee Also