Package io.netty.buffer

Examples of io.netty.buffer.SlicedByteBuf


  public ByteBuf slice(int index, int length) {
    if (length == 0) {
      return Unpooled.EMPTY_BUFFER;
    }

    return new SlicedByteBuf(this, index, length);
  }
View Full Code Here

TOP

Related Classes of io.netty.buffer.SlicedByteBuf

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.