StrokeInputBatch.Companion
public static class StrokeInputBatch.Companion
Summary
Extension functions |
|
|---|---|
static final @NonNull ImmutableStrokeInputBatch |
StrokeInputBatchExtensions.decode(Read a serialized CodedStrokeInputBatch from the given |
Extension functions
StrokeInputBatchExtensions.decode
public static final @NonNull ImmutableStrokeInputBatch StrokeInputBatchExtensions.decode(
@NonNull StrokeInputBatch.Companion receiver,
@NonNull InputStream input
)
Read a serialized CodedStrokeInputBatch from the given InputStream and parse it into a ImmutableStrokeInputBatch, throwing an exception if parsing or validation was not successful. Java callers should use StrokeInputBatchSerialization.decode instead.
| Parameters | |
|---|---|
@NonNull InputStream input |
|
| Returns | |
|---|---|
@NonNull ImmutableStrokeInputBatch |
The |
| Throws | |
|---|---|
java.io.IOException |
if gzip-format bytes cannot be read from |
kotlin.IllegalArgumentException |
|