class CatalogFinderEntry(bytes: ByteArray): BytesEq(bytes)
-- this just adds type safety and equals/hash/toString. But I really just want to use a ByteArraySerializer any time it (or any BytesEq subclass) shows up as a field in some other class. Is that doable?
And... solved! A common serializer class can be subclassed. See comments. I guess I've been away from Kotlin for too long and have forgotten how to work with inheritance. 😆