WireFormat

fm.serializer.protobuf.WireFormat$
object WireFormat

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
WireFormat.type

Members list

Value members

Concrete methods

final def getTagFieldNumber(tag: Int): Int

Given a tag value, determines the field number (the upper 29 bits).

Given a tag value, determines the field number (the upper 29 bits).

Attributes

final def getTagWireType(tag: Int): Int

Given a tag value, determines the wire type (the lower 3 bits).

Given a tag value, determines the wire type (the lower 3 bits).

Attributes

final def makeTag(fieldNumber: Int, wireType: Int): Int

Makes a tag value given a field number and wire type.

Makes a tag value given a field number and wire type.

Attributes

Concrete fields

final val TAG_TYPE_BITS: Int
final val TAG_TYPE_MASK: Int
final val WIRETYPE_END_GROUP: 4
final val WIRETYPE_FIXED32_LE: 5
final val WIRETYPE_FIXED64_LE: 1
final val WIRETYPE_NULL: 6
final val WIRETYPE_START_GROUP: 3
final val WIRETYPE_VARINT: 0