Class ByteStorage<T>
- java.lang.Object
-
- org.apache.plc4x.java.canopen.api.segmentation.accumulator.ByteStorage<T>
-
- All Implemented Interfaces:
Storage<T,byte[]>
- Direct Known Subclasses:
ByteStorage.SDODownloadStorage,ByteStorage.SDOUploadStorage
public class ByteStorage<T> extends Object implements Storage<T,byte[]>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classByteStorage.SDODownloadStoragestatic classByteStorage.SDOUploadStorage
-
Constructor Summary
Constructors Constructor Description ByteStorage(Function<T,byte[]> extractor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappend(T frame)Appends segmented frame.byte[]get()Retrieves final result from segmented payload.longsize()Gets accumulated size of stored data.
-