@@ -0,0 +1,644 @@
+package nanomsg;%0A%0Apublic class Message %7B%0A    private bytes%5B%5D messageData;%0A%0A    public Message(String data) %7B%0A        messageData = data.getBytes(Charset.forName(%22UTF-8%22));%0A    %7D%0A%0A    public Message(bytes%5B%5D data) %7B%0A        messageData = data;%0A    %7D%0A%0A    public String toString() %7B%0A        return new String(messageData, Charset.forName(%22UTF-8%22));%0A    %7D%0A%0A    public String toString(String encoding) %7B%0A        return new String(messageData, Charset.forName(encoding));%0A    %7D%0A%0A    public String toString(Charset encoding) %7B%0A        return new String(messageData, encoding);%0A    %7D%0A%0A    public bytes%5B%5D toBytes() %7B%0A        return messageData;%0A    %7D%0A%7D%0A

Add message class.