Package com.abovevacant.epitaph.wire
Class TombstoneDecoder
java.lang.Object
com.abovevacant.epitaph.wire.TombstoneDecoder
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 Summary
Modifier and TypeMethodDescriptionstatic Tombstonedecode(byte[] data) Parses a tombstone from raw bytes.static Tombstonedecode(InputStream input) Parses a tombstone from an InputStream.
-
Method Details
-
decode
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
Parses a tombstone from raw bytes.- Parameters:
data- the protobuf data- Returns:
- the parsed Tombstone
- Throws:
IOException- if parsing fails
-