Home / Function/ checkSliceOutOfBounds() — netty Function Reference

checkSliceOutOfBounds() — netty Function Reference

Architecture documentation for the checkSliceOutOfBounds() function in AbstractUnpooledSlicedByteBuf.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  e11531a7_bf10_bbf6_e073_93d20c87cecb["checkSliceOutOfBounds()"]
  39cc57bf_c07f_2a88_6701_62f38b4d0c5b["AbstractUnpooledSlicedByteBuf"]
  e11531a7_bf10_bbf6_e073_93d20c87cecb -->|defined in| 39cc57bf_c07f_2a88_6701_62f38b4d0c5b
  9ce6d7e2_6416_57d7_e2e4_50c48fb80fb5["AbstractUnpooledSlicedByteBuf()"]
  9ce6d7e2_6416_57d7_e2e4_50c48fb80fb5 -->|calls| e11531a7_bf10_bbf6_e073_93d20c87cecb
  style e11531a7_bf10_bbf6_e073_93d20c87cecb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/AbstractUnpooledSlicedByteBuf.java lines 477–481

    static void checkSliceOutOfBounds(int index, int length, ByteBuf buffer) {
        if (isOutOfBounds(index, length, buffer.capacity())) {
            throw new IndexOutOfBoundsException(buffer + ".slice(" + index + ", " + length + ')');
        }
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free