Class/Object

zio.nio.core

Buffer

Related Docs: object Buffer | package core

Permalink

abstract class Buffer[A] extends AnyRef

Annotations
@specialized()
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Buffer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def array: IO[Exception, Array[A]]

    Permalink
    Attributes
    protected[zio.nio]
  2. abstract def asReadOnlyBuffer: IO[Nothing, Buffer[A]]

    Permalink
  3. abstract def compact: IO[ReadOnlyBufferException, Unit]

    Permalink
  4. abstract def duplicate: IO[Nothing, Buffer[A]]

    Permalink
  5. abstract def get(i: Int): IO[IndexOutOfBoundsException, A]

    Permalink
  6. abstract def get: IO[BufferUnderflowException, A]

    Permalink
  7. abstract def getChunk(maxLength: Int = Int.MaxValue): IO[BufferUnderflowException, Chunk[A]]

    Permalink
  8. abstract def order: ByteOrder

    Permalink
  9. abstract def put(index: Int, element: A): IO[Exception, Unit]

    Permalink
  10. abstract def put(element: A): IO[Exception, Unit]

    Permalink
  11. abstract def putChunk(chunk: Chunk[A]): IO[Exception, Unit]

    Permalink
  12. abstract def slice: IO[Nothing, Buffer[A]]

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. final def capacity: Int

    Permalink
  6. final def clear: UIO[Unit]

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. final def fillFromChunk(chunk: Chunk[A]): IO[Nothing, Chunk[A]]

    Permalink

    Writes as much of a chunk as possible to this buffer.

    Writes as much of a chunk as possible to this buffer.

    returns

    The remaining elements that could not fit in this buffer, if any.

  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def flip: UIO[Unit]

    Permalink
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def hasArray: Boolean

    Permalink
  15. final def hasRemaining: UIO[Boolean]

    Permalink
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isDirect: Boolean

    Permalink
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. final def isReadOnly: Boolean

    Permalink
  20. final def limit(newLimit: Int): IO[Exception, Unit]

    Permalink
  21. final def limit: UIO[Int]

    Permalink
  22. final def mark: UIO[Unit]

    Permalink
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def position(newPosition: Int): IO[Exception, Unit]

    Permalink
  27. final def position: UIO[Int]

    Permalink
  28. final def remaining: UIO[Int]

    Permalink
  29. final def reset: IO[Exception, Unit]

    Permalink
  30. final def rewind: UIO[Unit]

    Permalink
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def withArray[R, E, B](noArray: ZIO[R, E, B])(hasArray: (Array[A], Int) ⇒ ZIO[R, E, B]): ZIO[R, E, B]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped