{@snippet lang = c : int BIO_write(BIO b, const void data, int dlen) }
(MemorySegment b, MemorySegment data, int dlen)
| 1532 | * } |
| 1533 | */ |
| 1534 | public static int BIO_write(MemorySegment b, MemorySegment data, int dlen) { |
| 1535 | var mh$ = BIO_write.HANDLE; |
| 1536 | try { |
| 1537 | if (TRACE_DOWNCALLS) { |
| 1538 | traceDowncall("BIO_write", b, data, dlen); |
| 1539 | } |
| 1540 | return (int) mh$.invokeExact(b, data, dlen); |
| 1541 | } catch (Throwable ex$) { |
| 1542 | throw new AssertionError("should not reach here", ex$); |
| 1543 | } |
| 1544 | } |
| 1545 | |
| 1546 | private static class BIO_ctrl { |
| 1547 | public static final FunctionDescriptor DESC = FunctionDescriptor.of(openssl_h.C_LONG, openssl_h.C_POINTER, |
no test coverage detected