Interface DataWriter.Serializer<T>
- All Superinterfaces:
BiConsumer<T, DataOutput>
- All Known Subinterfaces:
DataInterpreter<T>
- Enclosing class:
DataWriter<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface DataWriter.Serializer<T>
extends BiConsumer<T, DataOutput>
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidaccept(T data, DataOutput output) voidserialize(T data, DataOutput output) Methods inherited from interface BiConsumer
andThen
-
Method Details
-
accept
- Specified by:
acceptin interfaceBiConsumer<T, DataOutput>
-
serialize
- Throws:
IOException
-