Module java.base
Package java.nio

# Class Buffer

=
public abstract sealed class Buffer
extends java.lang.Object
permits java.nio.ByteBuffer, java.nio.CharBuffer, java.nio.DoubleBuffer, java.nio.FloatBuffer, java.nio.IntBuffer, java.nio.LongBuffer, java.nio.ShortBuffer

## Methods

- =
  public abstract java.lang.Object array()
- =
  public abstract int arrayOffset()
- =
  public final int capacity()
- =
  public java.nio.Buffer clear()
- =
  public abstract java.nio.Buffer duplicate()
- =
  public java.nio.Buffer flip()
- =
  public abstract boolean hasArray()
- =
  public final boolean hasRemaining()
- =
  public abstract boolean isDirect()
- =
  public abstract boolean isReadOnly()
- =
  public final int limit()
- =
  public java.nio.Buffer limit(int arg0)
- =
  public java.nio.Buffer mark()
- =
  public final int position()
- =
  public java.nio.Buffer position(int arg0)
- =
  public final int remaining()
- =
  public java.nio.Buffer reset()
- =
  public java.nio.Buffer rewind()
- =
  public abstract java.nio.Buffer slice()
- =
  public abstract java.nio.Buffer slice(int arg0, int arg1)

## Summary

No differences.