use of com.firenio.buffer.ByteBuf in project baseio by generallycloud.
the class TestByteBufCopy method arrayPutArray.
Object arrayPutArray() {
ByteBuf buf = _array();
buf.writeBytes(arrayData());
return buf;
}
use of com.firenio.buffer.ByteBuf in project baseio by generallycloud.
the class TestByteBufCopy method directGetArray.
Object directGetArray() {
ByteBuf buf = _array();
directData().readBytes(buf);
return buf;
}
use of com.firenio.buffer.ByteBuf in project baseio by generallycloud.
the class TestByteBufCopy method directPutDirect.
Object directPutDirect() {
ByteBuf buf = _direct();
buf.writeBytes(directData());
return buf;
}
use of com.firenio.buffer.ByteBuf in project baseio by generallycloud.
the class TestByteBufCopy method directPutJDirect.
Object directPutJDirect() {
ByteBuf buf = _direct();
buf.writeBytes(jDirectData());
return buf;
}
use of com.firenio.buffer.ByteBuf in project baseio by generallycloud.
the class TestByteBufCopy method directPutArray.
Object directPutArray() {
ByteBuf buf = _direct();
buf.writeBytes(arrayData());
return buf;
}
Aggregations