abstract class Buffer[A] extends AnyRef
- Annotations
- @specialized()
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Buffer
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
def
array: IO[Exception, Array[A]]
- Attributes
- protected[zio.nio]
- abstract def asReadOnlyBuffer: IO[Nothing, Buffer[A]]
- abstract def compact: IO[ReadOnlyBufferException, Unit]
- abstract def duplicate: IO[Nothing, Buffer[A]]
- abstract def get(i: Int): IO[IndexOutOfBoundsException, A]
- abstract def get: IO[BufferUnderflowException, A]
- abstract def getChunk(maxLength: Int = Int.MaxValue): IO[BufferUnderflowException, Chunk[A]]
- abstract def order: ByteOrder
- abstract def put(index: Int, element: A): IO[Exception, Unit]
- abstract def put(element: A): IO[Exception, Unit]
- abstract def putChunk(chunk: Chunk[A]): IO[Exception, Unit]
- abstract def slice: IO[Nothing, Buffer[A]]
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- final def capacity: Int
- final def clear: UIO[Unit]
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- final def flip: UIO[Unit]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def hasArray: Boolean
- final def hasRemaining: UIO[Boolean]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isDirect: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def isReadOnly: Boolean
- final def limit(newLimit: Int): IO[Exception, Unit]
- final def limit: UIO[Int]
- final def mark: UIO[Unit]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def position(newPosition: Int): IO[Exception, Unit]
- final def position: UIO[Int]
- final def remaining: UIO[Int]
- final def reset: IO[Exception, Unit]
- final def rewind: UIO[Unit]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- final def withArray[R, E, B](noArray: ZIO[R, E, B])(hasArray: (Array[A], Int) ⇒ ZIO[R, E, B]): ZIO[R, E, B]