MCPcopy Create free account
hub / github.com/apache/tomcat / BIO_read

Method BIO_read

java/org/apache/tomcat/util/openssl/openssl_h.java:1482–1492  ·  view source on GitHub ↗

{@snippet lang = c : int BIO_read(BIO b, void data, int dlen) }

(MemorySegment b, MemorySegment data, int dlen)

Source from the content-addressed store, hash-verified

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 =

Callers 1

readEncryptedDataMethod · 0.80

Calls 1

traceDowncallMethod · 0.95

Tested by

no test coverage detected