Class TeeDataInputPlus

java.lang.Object
org.apache.cassandra.io.util.TeeDataInputPlus
All Implemented Interfaces:
DataInput, DataInputPlus

public class TeeDataInputPlus extends Object implements DataInputPlus
DataInput that also stores the raw inputs into an output buffer This is useful for storing serialized buffers as they are deserialized. Note: If a non-zero limit is included it is important to for callers to check isLimitReached() before using the tee buffer as it could be cropped.