--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
---
You received this message because you are subscribed to the Google Groups "Haxe" group.
For more options, visit https://groups.google.com/groups/opt_out.
<?xml version="1.0"?><!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
I don't think that can be an encoding problem. Do you return an additional \0 character to mark the message end?
var tbuf = Bytes.alloc(30);
cnx.input.readBytes(tbuf, 0, 30);
var tbuf = cnx.input.readAll(30);