Jump to content

TeWu

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by TeWu

  1. You should read https://developers.google.com/protocol-buffers/docs/encoding#varints for description of varint encoding. Here you have, how it is done in Python: https://github.com/google/protobuf/blob/v3.0.0-beta-1/python/google/protobuf/internal/decoder.py#L136 And here, how I've done varint receiving in my kRPC client: https://github.com/TeWu/krpc-rb/blob/0.2.0/lib/krpc/connection.rb#L55 You might also like to see this file from my implementation: https://github.com/TeWu/krpc-rb/blob/0.2.0/lib/krpc/protobuf_utils.rb It's all about protobuf' value types encoding and decoding.
  2. Hello, I just wanted to inform you that I've created Ruby client for kRPC. It's working pretty smoothly, with the only major feature missing being support for streaming. I plan to develop it further, tho I'll be quite busy with other things for a few weeks. For more see: https://github.com/TeWu/krpc-rb I haven't yet a chance, so let me say Thank You djungelorm for creating this amazing mod
×
×
  • Create New...