@InterfaceAudience.Private public abstract class ProtoUtil extends Object
Constructor and Description |
---|
ProtoUtil() |
Modifier and Type | Method and Description |
---|---|
static int |
readRawVarint32(DataInput in)
Read a variable length integer in the same format that ProtoBufs encodes.
|
public static int readRawVarint32(DataInput in) throws IOException
in
- the input stream to read fromIOException
- if it is malformed or EOF.Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.