Package

com.twitter

io

Permalink

package io

Visibility
  1. Public
  2. All

Type Members

  1. abstract class AbstractBuf extends Buf

    Permalink

    Abstract Buf class for Java compatibility.

  2. trait Buf extends AnyRef

    Permalink

    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

    Permalink
  4. final class Bufs extends AnyRef

    Permalink
  5. case class ConcatBuf(chain: Vector[Buf]) extends Buf with Product with Serializable

    Permalink

    A Buf that concat multiple Bufs together

  6. class InputStreamReader extends Reader with Closable with CloseAwaitably

    Permalink

    Provides the Reader API for an InputStream

  7. trait Reader extends AnyRef

    Permalink

    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.

  8. final class Readers extends AnyRef

    Permalink
  9. trait Writer extends AnyRef

    Permalink

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

  10. final class Writers extends AnyRef

    Permalink

Value Members

  1. object Buf

    Permalink

    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.Buf.

  2. object BufReader

    Permalink
  3. object Charsets

    Permalink

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

  4. object Files

    Permalink

    Utilities for working with java.io.Files

  5. object InputStreamReader

    Permalink
  6. object Reader

    Permalink
  7. object StreamIO

    Permalink
  8. object TempDirectory

    Permalink
  9. object TempFile

    Permalink
  10. object Writer

    Permalink

    See also

    Writers for Java friendly APIs.

  11. package exp

    Permalink

Ungrouped