Home / Function/ ByteBuffer() — netty Function Reference

ByteBuffer() — netty Function Reference

Architecture documentation for the ByteBuffer() function in Hmac.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  320196ae_8dba_0a87_2a0a_7f800a5a7eb5["ByteBuffer()"]
  5bd1a483_27e1_6efa_e106_4fe3575fc3d0["Hmac"]
  320196ae_8dba_0a87_2a0a_7f800a5a7eb5 -->|defined in| 5bd1a483_27e1_6efa_e106_4fe3575fc3d0
  style 320196ae_8dba_0a87_2a0a_7f800a5a7eb5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-classes-quic/src/main/java/io/netty/handler/codec/quic/Hmac.java lines 55–64

    static ByteBuffer sign(ByteBuffer input, int outLength) {
        Mac mac = MACS.get();
        mac.reset();
        mac.update(input);
        byte[] signBytes = mac.doFinal();
        if (signBytes.length != outLength) {
            signBytes = Arrays.copyOf(signBytes, outLength);
        }
        return ByteBuffer.wrap(signBytes);
    }

Domain

Subdomains

Frequently Asked Questions

What does ByteBuffer() do?
ByteBuffer() is a function in the netty codebase, defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/Hmac.java.
Where is ByteBuffer() defined?
ByteBuffer() is defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/Hmac.java at line 55.

Analyze Your Own Codebase

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

Try Supermodel Free