Package

fm.serializer

protobuf

Permalink

package protobuf

Visibility
  1. Public
  2. All

Type Members

  1. final class InvalidProtocolBufferException extends IOException

    Permalink
  2. final class ProtobufByteArrayInput extends ProtobufInput

    Permalink

    Optimized Input implementation for reading from a byte array that is much more JVM/JIT optimization friendly than reading from an InputStream.

  3. abstract class ProtobufInput extends Input

    Permalink
  4. final class ProtobufInputStreamInput extends ProtobufInput

    Permalink
  5. final case class ProtobufOptions(internStrings: Boolean = false) extends Product with Serializable

    Permalink

    internStrings

    Call String.intern() on any strings read

  6. final class ProtobufOutput extends Output

    Permalink

    Modified Protocol Buffers Output

    Modified Protocol Buffers Output

    The main difference between his and the stock Protocol Buffers Implementation is the handling of repeated fields. In this implementation:

    • We use ONLY packed repeated fields for collections (including non-numeric types)

    The Stock Implementation:

    • Optionally uses packed repeated fields for numeric types
  7. final class ProtobufOutputStreamOutput extends Output

    Permalink

    Modified Protocol Buffers Output

    Modified Protocol Buffers Output

    The main difference between his and the stock Protocol Buffers Implementation is the handling of repeated fields. In this implementation:

    • We use ONLY packed repeated fields for collections (including non-numeric types)

    The Stock Implementation:

    • Optionally uses packed repeated fields for numeric types

Value Members

  1. object InvalidProtocolBufferException extends Serializable

    Permalink
  2. object Protobuf

    Permalink
  3. object ProtobufOptions extends Serializable

    Permalink
  4. object WireFormat

    Permalink

Ungrouped