public static class PaneInfo.PaneInfoCoder extends AtomicCoder<PaneInfo>
Coder.Context, Coder.NonDeterministicException| Modifier and Type | Field and Description |
|---|---|
static PaneInfo.PaneInfoCoder |
INSTANCE |
| Constructor and Description |
|---|
PaneInfoCoder() |
| Modifier and Type | Method and Description |
|---|---|
PaneInfo |
decode(InputStream inStream,
Coder.Context context)
Decodes a value of type
T from the given input stream in
the given context. |
void |
encode(PaneInfo value,
OutputStream outStream,
Coder.Context context)
Encodes the given value of type
T onto the given output stream
in the given context. |
getCoderArguments, getInstanceComponentsverifyDeterministicasCloudObject, consistentWithEquals, equals, getAllowedEncodings, getComponents, getEncodedElementByteSize, getEncodingId, hashCode, isRegisterByteSizeObserverCheap, registerByteSizeObserver, structuralValue, toString, verifyDeterministic, verifyDeterministicpublic static final PaneInfo.PaneInfoCoder INSTANCE
public void encode(PaneInfo value, OutputStream outStream, Coder.Context context) throws CoderException, IOException
CoderT onto the given output stream
in the given context.CoderException - if the value could not be encoded for some reasonIOException - if writing to the OutputStream fails
for some reasonpublic PaneInfo decode(InputStream inStream, Coder.Context context) throws CoderException, IOException
CoderT from the given input stream in
the given context. Returns the decoded value.CoderException - if the value could not be decoded for some reasonIOException - if reading from the InputStream fails
for some reason