All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.youi.communication.ByteBufferWriter.scala Maven / Gradle / Ivy

The newest version!
package io.youi.communication

import java.nio.ByteBuffer

import scala.concurrent.Promise

trait ByteBufferWriter {
  val promise: Promise[Unit] = Promise[Unit]()

  def fileName: String
  def actualFileName: String
  def written: Long
  def remaining: Long
  def write(bb: ByteBuffer): Unit
  def close(): Unit
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy