I can't set encoding on streams before bouncing them. #34

garthk opened this Issue Aug 4, 2012 · 0 comments


None yet
1 participant

garthk commented Aug 4, 2012

Per gist 3253513, I can't set the encoding on a stream before bouncing it. In turn, the stream's data events have a Buffer as an argument instead of a string, and mux-demux chokes on it.

Perhaps I'm just doing it wrong:

trampoline.on('connect', function(socket) {

In my method argument to bouncy, I tried abusing bounce.stream but it turns out to lack setEncoding. The same is true for the streams I get from mux-demux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment