Home / Function/ ByteBuf() — netty Function Reference

ByteBuf() — netty Function Reference

Architecture documentation for the ByteBuf() function in PemX509Certificate.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  431f65dc_c26a_2796_bbd4_afee52eaf0ea["ByteBuf()"]
  5a07f07f_f60b_c2b9_81ac_c030312abb06["PemX509Certificate"]
  431f65dc_c26a_2796_bbd4_afee52eaf0ea -->|defined in| 5a07f07f_f60b_c2b9_81ac_c030312abb06
  9732cd5f_6ac8_16d2_d132_70dc632fb717["getEncoded()"]
  431f65dc_c26a_2796_bbd4_afee52eaf0ea -->|calls| 9732cd5f_6ac8_16d2_d132_70dc632fb717
  813828f8_5915_680b_1d84_589e2ea1dcb6["release()"]
  431f65dc_c26a_2796_bbd4_afee52eaf0ea -->|calls| 813828f8_5915_680b_1d84_589e2ea1dcb6
  2d60c04e_4129_888f_be02_a51f49a5f656["refCnt()"]
  431f65dc_c26a_2796_bbd4_afee52eaf0ea -->|calls| 2d60c04e_4129_888f_be02_a51f49a5f656
  style 431f65dc_c26a_2796_bbd4_afee52eaf0ea fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/PemX509Certificate.java lines 105–117

    private static ByteBuf append(ByteBufAllocator allocator, boolean useDirect,
            PemEncoded encoded, int count, ByteBuf pem) {

        ByteBuf content = encoded.content();

        if (pem == null) {
            // see the other append() method
            pem = newBuffer(allocator, useDirect, content.readableBytes() * count);
        }

        pem.writeBytes(content.slice());
        return pem;
    }

Domain

Subdomains

Frequently Asked Questions

What does ByteBuf() do?
ByteBuf() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/PemX509Certificate.java.
Where is ByteBuf() defined?
ByteBuf() is defined in handler/src/main/java/io/netty/handler/ssl/PemX509Certificate.java at line 105.
What does ByteBuf() call?
ByteBuf() calls 3 function(s): getEncoded, refCnt, release.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free