Class ProtoDebug

java.lang.Object
org.ebfhub.fastprotobuf.ProtoDebug

public class ProtoDebug
extends Object

ProtoDebug class.

Version:
$Id: $Id
Author:
mac
  • Constructor Details

  • Method Details

    • decodeProto

      public static String decodeProto​(byte[] data, boolean singleLine) throws IOException

      decodeProto.

      Parameters:
      data - an array of byte objects.
      singleLine - a boolean.
      Returns:
      a String object.
      Throws:
      IOException - if any.
    • decodeProto

      public static String decodeProto​(com.google.protobuf.ByteString data, int depth, boolean singleLine) throws IOException

      decodeProto.

      Parameters:
      data - a ByteString object.
      depth - a int.
      singleLine - a boolean.
      Returns:
      a String object.
      Throws:
      IOException - if any.