0
Vote

Refactor sending and receiving of byte[] to VentriloMessage

description

The VentriloConnection class now has intimate knowledge of the way how messages are composed. This makes it hard to test and to use with a client connection stream (for the proxy). The VentriloMessage should be able to:
- send a byte[] to a Stream with the size sent first
  • receive a byte[] from a Stream by receiving the size first

comments