8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb7032b commit cbbe443Copy full SHA for cbbe443
mysql-async/src/main/scala/com/github/mauricio/async/db/mysql/codec/LittleEndianByteBufAllocator.scala
@@ -28,6 +28,7 @@ object LittleEndianByteBufAllocator {
28
class LittleEndianByteBufAllocator extends ByteBufAllocator {
29
private val allocator = new UnpooledByteBufAllocator(false)
30
31
+ def isDirectBufferPooled: Boolean = false
32
3 5FB6 2
33
def buffer() = littleEndian(allocator.buffer())
34
@@ -66,4 +67,5 @@ class LittleEndianByteBufAllocator extends ByteBufAllocator {
66
67
def compositeDirectBuffer(maxNumComponents: Int): CompositeByteBuf = allocator.compositeDirectBuffer(maxNumComponents)
68
69
private def littleEndian(b: ByteBuf) = b.order(ByteOrder.LITTLE_ENDIAN)
70
+
71
}
0 commit comments