Package

com.twitter

util

Permalink

package util

Visibility
  1. Public
  2. All

Type Members

  1. trait Base64StringEncoder extends StringEncoder

    Permalink

    A utility for encoding strings and byte arrays to a MIME base64 string, and decoding from strings encoded in MIME base64 to byte arrays.

    A utility for encoding strings and byte arrays to a MIME base64 string, and decoding from strings encoded in MIME base64 to byte arrays.

    The encoding for strings is UTF-8.

  2. trait Base64UrlSafeStringEncoder extends StringEncoder

    Permalink

    A utility for encoding strings and byte arrays to a URL-safe base64 string, and decoding from strings encoded in base64 to byte arrays.

    A utility for encoding strings and byte arrays to a URL-safe base64 string, and decoding from strings encoded in base64 to byte arrays.

    The encoding for strings is UTF-8.

  3. trait GZIPStringEncoder extends StringEncoder

    Permalink

    A collection of utilities for encoding strings and byte arrays to and decoding from strings compressed from with gzip.

    A collection of utilities for encoding strings and byte arrays to and decoding from strings compressed from with gzip.

    This trait is thread-safe because there are no streams shared outside of method scope, and therefore no contention for shared byte arrays.

    The encoding for strings is UTF-8.

    gzipping inherently includes base64 encoding (the GZIP utilities from java will complain otherwise!)

  4. trait StringEncoder extends AnyRef

    Permalink

Ungrouped