-
Notifications
You must be signed in to change notification settings - Fork 626
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pass InputStream
to Protobuf.load
#693
Comments
Forgot to mention that my current solution is to serialize the data structure to a |
It all will be resolved after #253 – formats would operate |
@fsantanna |
@AlexanderShniperson , This is how I'm doing:
It's actually very straightforward. |
Closing as duplicate |
What is your use-case and why do you need this feature?
AFAIU, currently I can only to pass a
ByteArray
when deserializing data.I wonder if it would be possible to pass an
InputStream
instead.I want to deserialize a variable-size data structure coming from the network, so I don't know the exact size beforehand to create a
ByteArray
.(I'm sorry if I missed some important information about the design that invalidates this question.)
Describe the solution you'd like
The text was updated successfully, but these errors were encountered: