Home / Function/ BinaryMemcacheResponse() — netty Function Reference

BinaryMemcacheResponse() — netty Function Reference

Architecture documentation for the BinaryMemcacheResponse() function in BinaryMemcacheResponseDecoder.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  be97f602_1525_ff20_da7e_765356ae997d["BinaryMemcacheResponse()"]
  1cd6893a_9bbe_3776_4cfd_6443c4ad565c["BinaryMemcacheResponseDecoder"]
  be97f602_1525_ff20_da7e_765356ae997d -->|defined in| 1cd6893a_9bbe_3776_4cfd_6443c4ad565c
  style be97f602_1525_ff20_da7e_765356ae997d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-memcache/src/main/java/io/netty/handler/codec/memcache/binary/BinaryMemcacheResponseDecoder.java lines 37–50

    @Override
    protected BinaryMemcacheResponse decodeHeader(ByteBuf in) {
        DefaultBinaryMemcacheResponse header = new DefaultBinaryMemcacheResponse();
        header.setMagic(in.readByte());
        header.setOpcode(in.readByte());
        header.setKeyLength(in.readShort());
        header.setExtrasLength(in.readByte());
        header.setDataType(in.readByte());
        header.setStatus(in.readShort());
        header.setTotalBodyLength(in.readInt());
        header.setOpaque(in.readInt());
        header.setCas(in.readLong());
        return header;
    }

Domain

Subdomains

Frequently Asked Questions

What does BinaryMemcacheResponse() do?
BinaryMemcacheResponse() is a function in the netty codebase, defined in codec-memcache/src/main/java/io/netty/handler/codec/memcache/binary/BinaryMemcacheResponseDecoder.java.
Where is BinaryMemcacheResponse() defined?
BinaryMemcacheResponse() is defined in codec-memcache/src/main/java/io/netty/handler/codec/memcache/binary/BinaryMemcacheResponseDecoder.java at line 37.

Analyze Your Own Codebase

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

Try Supermodel Free