public LinkedBuffer packString(CharSequence value, WriteSession session, LinkedBuffer lb)
            throws IOException
    {
        if (value.length() == 0)
        {
            return packRawStringHeader(0, session, lb);
        }
        int sizeInBytes = StringSerializer.computeUTF8Size(value, 0, value.length());
        return StringSerializer.writeUTF8(value, session, 
                packRawStringHeader(sizeInBytes, session, lb));
    }
Simple wrapper around WriteSink with methods specific for MessagePacker

@author Alex Shvid
protostuff-msgpack/src/main/java/io/protostuff/MsgpackWriteSink.java