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
Over websocket I receive a stream of objects. I know the byte length of each object, and I want to ensure (as a safety/sanity check) that DecodeObject(...) has fully read the input. I see the private function decodeObject(...) returns the length, but that's not made available to the user.
May I request that either
The API is changed to return the length
A public field/method is added to the Decoder type, that exposed the number of bytes read.
The text was updated successfully, but these errors were encountered:
Over websocket I receive a stream of objects. I know the byte length of each object, and I want to ensure (as a safety/sanity check) that
DecodeObject(...)
has fully read the input. I see the private functiondecodeObject(...)
returns the length, but that's not made available to the user.May I request that either
The text was updated successfully, but these errors were encountered: