forked from openrs2/openrs2
parent
006b4ff5bc
commit
2482e20063
@ -0,0 +1,12 @@ |
||||
package dev.openrs2.buffer |
||||
|
||||
import com.google.inject.AbstractModule |
||||
import io.netty.buffer.ByteBufAllocator |
||||
import io.netty.buffer.PooledByteBufAllocator |
||||
|
||||
public object BufferModule : AbstractModule() { |
||||
override fun configure() { |
||||
bind(ByteBufAllocator::class.java) |
||||
.toInstance(PooledByteBufAllocator.DEFAULT) |
||||
} |
||||
} |
Loading…
Reference in new issue