类 DefaultDataBuffer.SlicedDefaultDataBuffer

java.lang.Object
cn.taketoday.core.io.buffer.DefaultDataBuffer
cn.taketoday.core.io.buffer.DefaultDataBuffer.SlicedDefaultDataBuffer
所有已实现的接口:
DataBuffer
封闭类:
DefaultDataBuffer

private static class DefaultDataBuffer.SlicedDefaultDataBuffer extends DefaultDataBuffer
  • 构造器详细资料

  • 方法详细资料

    • capacity

      public DefaultDataBuffer capacity(int newCapacity)
      从接口复制的说明: DataBuffer
      Set the number of bytes that this buffer can contain.

      If the new capacity is lower than the current capacity, the contents of this buffer will be truncated. If the new capacity is higher than the current capacity, it will be expanded.

      指定者:
      capacity 在接口中 DataBuffer
      覆盖:
      capacity 在类中 DefaultDataBuffer
      参数:
      newCapacity - the new capacity
      返回:
      this buffer
      另请参阅: