ProtoUtils

nscn.polaris2.protoc.bridge.ProtoUtils
object ProtoUtils

The few protobuf wire-format primitives the bridge needs on its own.

ExtraEnv is appended to an already-serialized CodeGeneratorRequest without ever parsing it, so the bridge cannot go through protobuf-java's generated code here - it would need a compiled message type for a message that deliberately has none.

Attributes

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

Members list

Value members

Concrete methods

def computeRawVarint32Size(value: Int): Int
def computeStringSize(fieldNumber: Int, s: String): Int
def computeTagSize(fieldNumber: Int): Int
def makeTag(fieldNumber: Int, wireType: Int): Int
def writeBytes(b: ArrayBuilder[Byte], fieldNumber: Int, value: Array[Byte]): Unit
def writeBytesNoTag(b: ArrayBuilder[Byte], value: Array[Byte]): Unit
def writeRawVarint32(output: ArrayBuilder[Byte], value0: Int): Unit
def writeString(b: ArrayBuilder[Byte], fieldNumber: Int, value: String): Unit
def writeStringNoTag(b: ArrayBuilder[Byte], value: String): Unit
def writeTag(b: ArrayBuilder[Byte], fieldNumber: Int, wireType: Int): Unit

Concrete fields

val TagTypeBits: Int
val Utf8: Charset