You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hive under the hood uses the TypeAdapters to transform the HiveModels in a Box into binary data that is written into a file AFAIK. And then read the other way round when needed.
Is there a simple way to redirect this serialization into some sort of stream, e.g. for transmitting the data over a network? Ideally without writing your own implementation of BinaryReader and BinaryWriter.
(Background of the question: I have a set of several dozen HiveModels and am looking for a way to create a backup mechanism without implementing a second serialisation method on top of the hive models...)
The easiest and only way I can think of is just copying the box files. (Which, of course, for encrypted boxes requires later reading them with the same AES key).
Any other suggestions?
The text was updated successfully, but these errors were encountered:
Hive under the hood uses the TypeAdapters to transform the HiveModels in a Box into binary data that is written into a file AFAIK. And then read the other way round when needed.
Is there a simple way to redirect this serialization into some sort of stream, e.g. for transmitting the data over a network? Ideally without writing your own implementation of BinaryReader and BinaryWriter.
(Background of the question: I have a set of several dozen HiveModels and am looking for a way to create a backup mechanism without implementing a second serialisation method on top of the hive models...)
The easiest and only way I can think of is just copying the box files. (Which, of course, for encrypted boxes requires later reading them with the same AES key).
Any other suggestions?
The text was updated successfully, but these errors were encountered: