All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.hyperfoil.core.handlers.ByteStream Maven / Gradle / Ivy

There is a newer version: 0.27.1
Show newest version
package io.hyperfoil.core.handlers;

/**
 * Abstract wrapper over {@link io.netty.buffer.ByteBuf}, byte[] or {@link String}.
 */
public interface ByteStream {
   boolean isReadable();

   byte readByte();

   int getByte(int index);

   int writerIndex();

   int readerIndex();

   void release();

   ByteStream retain();

   void moveTo(ByteStream other);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy