Home / Function/ isAscii() — netty Function Reference

isAscii() — netty Function Reference

Architecture documentation for the isAscii() function in ByteBufUtil.java from the netty codebase.

Function java Buffer Search called by 1

Entity Profile

Dependency Diagram

graph TD
  80c74630_5066_7ac6_b04c_6dab6bffc813["isAscii()"]
  920454f6_25f6_4a9b_3d32_9684c3e11f6c["ByteBufUtil"]
  80c74630_5066_7ac6_b04c_6dab6bffc813 -->|defined in| 920454f6_25f6_4a9b_3d32_9684c3e11f6c
  7654d22c_0971_21b4_bffe_e987b65afc12["isText()"]
  7654d22c_0971_21b4_bffe_e987b65afc12 -->|calls| 80c74630_5066_7ac6_b04c_6dab6bffc813
  style 80c74630_5066_7ac6_b04c_6dab6bffc813 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/ByteBufUtil.java lines 1841–1843

    private static boolean isAscii(ByteBuf buf, int index, int length) {
        return buf.forEachByte(index, length, FIND_NON_ASCII) == -1;
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does isAscii() do?
isAscii() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/ByteBufUtil.java.
Where is isAscii() defined?
isAscii() is defined in buffer/src/main/java/io/netty/buffer/ByteBufUtil.java at line 1841.
What calls isAscii()?
isAscii() is called by 1 function(s): isText.

Analyze Your Own Codebase

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

Try Supermodel Free