- All Known Subinterfaces:
S8ExplicitSerializable
public interface S8Serializable
Can parse from a
ByteInflow and compose to a ByteOutflow.- Author:
- Pierre Convert Copyright (C) 2022, Pierre Convert. All rights reserved.
-
Method Summary
Modifier and TypeMethodDescriptionlongreturn a proxy of memory footprintGenerate a deep clone of this serializableGet serial prototypevoidserialize(ByteOutflow outflow) Serialize this object in the outflow passed as argument.
-
Method Details
-
serialize
Serialize this object in the outflow passed as argument.- Parameters:
outflow- the outflow- Throws:
IOException- exception raised by the serialization and outflow writing process
-
getSerialPrototype
S8SerialPrototype<?> getSerialPrototype()Get serial prototype- Returns:
- the serial prototype
-
computeFootprint
long computeFootprint()return a proxy of memory footprint- Returns:
- the value
-
deepClone
S8Serializable deepClone()Generate a deep clone of this serializable- Returns:
- a deep clone
-