55 return details::ISerializerBase<T>::instance->vtable->instance->GetCount(outCount);
62 void InitInternalVtable() {
64 .SerializeFn = &SerializeWrapper,
65 .DeserializeFn = &DeserializeWrapper,
66 .GetCountFn = &GetCountWrapper};
67 mInstance.
vtable = &mVTable;
71 details::ISerializerInternalVTable mVTable{};
Result value type used by nn libraries.
ISerializer(ISerializer &src)
nn::Result Deserialize(T *buffer, uint32_t num)
ISerializer & operator=(const ISerializer &other)
ISerializer & operator=(ISerializer &&src) noexcept
nn::Result Serialize(T *buffer, uint32_t num)
~ISerializer() override=default
virtual nn::Result Serialize(void *buffer, uint32_t size) const =0
virtual nn::Result Deserialize(void *buffer, uint32_t size) const =0
ISerializerBase< uint8_t > * instance
struct nn::sl::details::ISerializerInternal ISerializerInternal
ISerializerInternalVTable * vtable
details::ISerializerBase< nn::sl::KillerNotification > & GetDefaultKillerNotificationSerializer()
details::ISerializerBase< OSTime > & GetDefaultPreviousSendingTimeSerializer()
details::ISerializerBase< nn::sl::TitleInfo > & GetDefaultJumpTitleInfoSerializer()
details::ISerializerBase< nn::sl::TitleInfo > & GetDefaultQuickStartTitleInfoSerializer()
details::ISerializerBase< nn::sl::IconInfo > & GetDefaultIconInfoSerializer()