com.twitter

io

package io

Visibility
  1. Public
  2. All

Type Members

  1. abstract class AbstractBuf extends Buf

    Abstract Buf class for Java compatibility.

  2. trait Buf extends AnyRef

    Buf represents a fixed, immutable byte buffer.

    Buf represents a fixed, immutable byte buffer. Buffers may be sliced and concatenated, and thus be used to implement bytestreams.

    Note: There is a Java-friendly API for this trait: com.twitter.io.AbstractBuf.

  3. class BufInputStream extends InputStream

  4. final class Bufs extends AnyRef

  5. class InputStreamReader extends Reader with Closable with CloseAwaitably

    Provides the Reader API for an InputStream

  6. trait Reader extends AnyRef

    A Reader represents a stream of bytes, read in discrete chunks.

    A Reader represents a stream of bytes, read in discrete chunks. Readers permit at most one outstanding read.

  7. final class Readers extends AnyRef

  8. trait Writer extends AnyRef

    A Writer represents a sink for a stream of bytes, providing a convenient interface for the producer of such streams.

  9. final class Writers extends AnyRef

Value Members

  1. object Buf

    Buf wrapper-types (like Buf.ByteArray and Buf.ByteBuffer) provide Shared and Owned APIs, each of which with construction & extraction utilities.

    Buf wrapper-types (like Buf.ByteArray and Buf.ByteBuffer) provide Shared and Owned APIs, each of which with construction & extraction utilities.

    The Owned APIs may provide direct access to a Buf's underlying implementation; and so mutating the data structure invalidates a Buf's immutability constraint. Users must take care to handle this data immutably.

    The Shared variants, on the other hand, ensure that the Buf shares no state with the caller (at the cost of additional allocation).

    Note: There is a Java-friendly API for this object: com.twitter.io.Bufs.

  2. object BufReader

  3. object Charsets

    Provides a set of frequently used java.nio.charset.Charset instances and the utilities related to them.

  4. object Files

    Utilities for working with java.io.Files

  5. object InputStreamReader

  6. object Reader

  7. object StreamIO

  8. object TempDirectory

  9. object TempFile

  10. object Writer

    See also

    Writers for Java friendly APIs.

  11. package exp

Ungrouped