Package io.sentry
Interface ISerializer
- All Known Implementing Classes:
JsonSerializer
public interface ISerializer
-
Method Summary
Modifier and TypeMethodDescription<T> Tdeserialize(@NotNull Reader reader, @NotNull Class<T> clazz) @Nullable SentryEnvelopedeserializeEnvelope(@NotNull InputStream inputStream) voidserialize(@NotNull SentryEnvelope envelope, @NotNull OutputStream outputStream) Serializes an envelope@NotNull String<T> void
-
Method Details
-
deserialize
-
deserializeEnvelope
-
serialize
- Throws:
IOException
-
serialize
void serialize(@NotNull @NotNull SentryEnvelope envelope, @NotNull @NotNull OutputStream outputStream) throws Exception Serializes an envelope- Parameters:
envelope- an envelopeoutputStream- which will not be closed automatically- Throws:
Exception- an exception
-
serialize
- Throws:
Exception
-