
io.hyperfoil.core.handlers.ByteStream Maven / Gradle / Ivy
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 - 2025 Weber Informatics LLC | Privacy Policy