Class ShadowingSerializableDecoder<T>
java.lang.Object
io.deephaven.enterprise.compatibility.shadow.ShadowingSerializableDecoder<T>
- Type Parameters:
- T- - The type of object this decoder will create
- All Implemented Interfaces:
- ObjectCodec<T>,- ObjectDecoder<T>
An 
ObjectCodec implementation for Serializable object that internally uses a
 ShadowingObjectInputStream to automatically replace detected shadowed classes in the object stream with their
 shadowed versions.- 
Field SummaryFields inherited from interface io.deephaven.util.codec.ObjectDecoderVARIABLE_WIDTH_SENTINEL
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcheckWidth(int actualWidth) decode(@org.jetbrains.annotations.NotNull byte[] input, int offset, int length) @org.jetbrains.annotations.NotNull byte[]intstatic <T> ShadowingSerializableDecoder<T>intintgetScale()booleanMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.util.codec.ObjectDecoderdecode
- 
Constructor Details- 
ShadowingSerializableDecoder
 
- 
- 
Method Details- 
getInstance
- 
encode- Specified by:
- encodein interface- ObjectCodec<T>
 
- 
isNullablepublic boolean isNullable()- Specified by:
- isNullablein interface- ObjectCodec<T>
 
- 
getPrecisionpublic int getPrecision()- Specified by:
- getPrecisionin interface- ObjectCodec<T>
 
- 
getScalepublic int getScale()- Specified by:
- getScalein interface- ObjectCodec<T>
 
- 
decode@Nullable public T decode(@NotNull @org.jetbrains.annotations.NotNull byte[] input, int offset, int length) - Specified by:
- decodein interface- ObjectDecoder<T>
 
- 
expectedObjectWidthpublic int expectedObjectWidth()- Specified by:
- expectedObjectWidthin interface- ObjectDecoder<T>
 
- 
checkWidth- Specified by:
- checkWidthin interface- ObjectDecoder<T>
- Throws:
- IllegalArgumentException
 
 
-