{@snippet lang = c : int BIO_read(BIO b, void data, int dlen) }
(MemorySegment b, MemorySegment data, int dlen)
| 1480 | * } |
| 1481 | */ |
| 1482 | public static int BIO_read(MemorySegment b, MemorySegment data, int dlen) { |
| 1483 | var mh$ = BIO_read.HANDLE; |
| 1484 | try { |
| 1485 | if (TRACE_DOWNCALLS) { |
| 1486 | traceDowncall("BIO_read", b, data, dlen); |
| 1487 | } |
| 1488 | return (int) mh$.invokeExact(b, data, dlen); |
| 1489 | } catch (Throwable ex$) { |
| 1490 | throw new AssertionError("should not reach here", ex$); |
| 1491 | } |
| 1492 | } |
| 1493 | |
| 1494 | private static class BIO_write { |
| 1495 | public static final FunctionDescriptor DESC = |
no test coverage detected