scalax.io.JavaConversions.scala Maven / Gradle / Ivy
The newest version!
/* __ *\
** ________ ___ / / ___ Scala API **
** / __/ __// _ | / / / _ | (c) 2009-2010, Jesse Eichar **
** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
** /____/\___/_/ |_/____/_/ | | **
** |/ **
\* */
package scalax.io
import scalax.io.nio.ByteBuffer
object JavaConversions {
implicit def byteBufferToTraversable(b:java.nio.ByteBuffer): ByteBuffer = new ByteBuffer(b)
}