Class TombstoneDecoder

java.lang.Object
com.abovevacant.epitaph.wire.TombstoneDecoder

public final class TombstoneDecoder extends Object
Decoder for Android tombstone protobuf format.

This is a custom, dependency-free implementation that parses all fields from the Android tombstone protobuf schema.

The tombstone protobuf schema is defined at: ...

  • Method Details

    • decode

      public static Tombstone decode(InputStream input) throws IOException
      Parses a tombstone from an InputStream.
      Parameters:
      input - the input stream containing the protobuf data
      Returns:
      the parsed Tombstone
      Throws:
      IOException - if parsing fails
    • decode

      public static Tombstone decode(byte[] data) throws IOException
      Parses a tombstone from raw bytes.
      Parameters:
      data - the protobuf data
      Returns:
      the parsed Tombstone
      Throws:
      IOException - if parsing fails