I have the following: ```class BufferUtils { co...
# getting-started
e
I have the following:
Copy code
class BufferUtils {
   companion object {
      @JvmStatic fun destroyDirectBuffer(toBeDestroyed: Buffer) {...}
   }
}
and I'd like to write an another fun to deal with multiple buffers:
Copy code
@JvmStatic fun destroyDirectBuffer(vararg toBeDestroyed: Buffer) = toBeDestroyed.forEach(BufferUtils::destroyDirectBuffer)
But the reference
BufferUtils::destroyDirectBuffer
is unresolved, why?