BitExp.Resize Method
Create expression that resizes byte[] to byteSize according to resizeFlags (See
BitResizeFlags)
and returns byte[].
- bin = [0b00000001, 0b01000010]
- byteSize = 4
- resizeFlags = 0
- returns [0b00000001, 0b01000010, 0b00000000, 0b00000000]
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 8.0.1+e35566e493546c0887ebb841c8e2a2c6a7cbde18
public static Exp Resize(
BitPolicy policy,
Exp byteSize,
int resizeFlags,
Exp bin
)
- policy BitPolicy
-
- byteSize Exp
-
- resizeFlags Int32
-
- bin Exp
-
Exp
Exp.EQ(
BitExp.Count(Exp.Val(0), Exp.Val(3),
BitExp.Resize(BitPolicy.Default, Exp.Val(4), BitResizeFlags.DEFAULT, Exp.BlobBin("a"))),
Exp.Val(2))