ByteBuf

final case class ByteBuf(asJava: ByteBuf) extends AnyVal

ZIO API for netty's zero-copy byte buffer

ZIO API for netty's zero-copy byte buffer

Companion
object
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def asString(charset: Charset): Task[String]

Converts this ByteBuf to string

Converts this ByteBuf to string

def readableBytes: UIO[Int]

Returns the number of readable bytes which is equal to

Returns the number of readable bytes which is equal to

def writeableBytes: UIO[Int]

Returns the number of writable bytes which is equal to

Returns the number of writable bytes which is equal to

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product