Serial & bytes
com.s8.meta.api.serial
com.s8.meta.api.bytes
Vertices publish through a typed binary protocol. You implement S8Serializable when you have a value object that must cross the wire with a known prototype.
S8Serializable
- serialize(outflow)
- Write this value.
- getSerialPrototype()
- The prototype that can read it back.
- bytecount()
- Encoded size.
- deepClone()
- Structural clone.
S8SerialPrototype
deserialize(inflow, bytecount), hasDelta, getSerialType(), getFrontType(). Prototypes are how polymorphic values pick a factory.
ByteInflow / ByteOutflow
Typed binary codec: UInt7x, Bool8 codes, arrays and strings length-prefixed with UInt32, and so on. Bool64 exposes bit constants BIT00… used as request flags. MemoryFootprint accounts instance/ref/entry/byte cost.
Intent You rarely call the codec directly. You feel it as compact deltas on the front and as versionable object graphs in repositories.