Package org.ebfhub.fastprotobuf
Class ProtoDebug
java.lang.Object
org.ebfhub.fastprotobuf.ProtoDebug
public class ProtoDebug extends Object
ProtoDebug class.
- Version:
- $Id: $Id
- Author:
- mac
-
Constructor Summary
Constructors Constructor Description ProtoDebug() -
Method Summary
Modifier and Type Method Description static StringdecodeProto(byte[] data, boolean singleLine)decodeProto.static StringdecodeProto(com.google.protobuf.ByteString data, int depth, boolean singleLine)decodeProto.
-
Constructor Details
-
ProtoDebug
public ProtoDebug()
-
-
Method Details
-
decodeProto
decodeProto.
- Parameters:
data- an array ofbyteobjects.singleLine- a boolean.- Returns:
- a
Stringobject. - Throws:
IOException- if any.
-
decodeProto
public static String decodeProto(com.google.protobuf.ByteString data, int depth, boolean singleLine) throws IOExceptiondecodeProto.
- Parameters:
data- aByteStringobject.depth- a int.singleLine- a boolean.- Returns:
- a
Stringobject. - Throws:
IOException- if any.
-