ASN1_INTEGER_cmp function

  1. @RecordUse.new()
  2. @Native<Int Function(Pointer<ASN1_OCTET_STRING>, Pointer<ASN1_OCTET_STRING>)>(ffi.Pointer<ASN1_INTEGER>, ffi.Pointer<ASN1_INTEGER>)>(symbol: 'bssl_dart_ASN1_INTEGER_cmp')
int ASN1_INTEGER_cmp(
  1. Pointer<ASN1_OCTET_STRING> x,
  2. Pointer<ASN1_OCTET_STRING> y
)

ASN1_INTEGER_cmp compares the values of x and y. It returns an integer equal to, less than, or greater than zero if x is equal to, less than, or greater than y, respectively.

Implementation

@meta.RecordUse()
@ffi.Native<
  ffi.Int Function(ffi.Pointer<ASN1_INTEGER>, ffi.Pointer<ASN1_INTEGER>)
>(symbol: 'bssl_dart_ASN1_INTEGER_cmp')
external int ASN1_INTEGER_cmp(
  ffi.Pointer<ASN1_INTEGER> x,
  ffi.Pointer<ASN1_INTEGER> y,
);