Create a new instance which uses leak-detection for direct buffers.
@param preferDirect {@code true} if {@link #buffer(int)} should try to allocate a direct buffer rather than a heap buffer
See Implementation
Create a new instance which uses leak-detection for direct buffers.
@param preferDirect {@code true} if {@link #buffer(int)} should try to allocate a direct buffer rather than a heap buffer