CBS_asn1_bitstring_has_bit function
- @RecordUse.new()
- @Native<Int Function(Pointer<
CBS> , UnsignedInt)>(ffi.Pointer<CBS>, ffi.UnsignedInt)>(symbol: 'bssl_dart_CBS_asn1_bitstring_has_bit')
CBS_asn1_bitstring_has_bit returns one if |cbs| is a valid ASN.1 BIT STRING body and the specified bit is present and set. Otherwise, it returns zero. |bit| is indexed starting from zero.
Implementation
@meta.RecordUse()
@ffi.Native<ffi.Int Function(ffi.Pointer<CBS>, ffi.UnsignedInt)>(
symbol: 'bssl_dart_CBS_asn1_bitstring_has_bit',
)
external int CBS_asn1_bitstring_has_bit(
ffi.Pointer<CBS> cbs,
int bit,
);