private static void flushAndReset(LinkedBuffer node, final WriteSession session)
            throws IOException
    {
        int len;
        do
        {
            if ((len = node.offset - node.start) > 0)
                node.offset = session.flush(node, node.buffer, node.start, len);
        } while ((node = node.next) != null);
    }
Writes the ascii bytes from the string into the {@link LinkedBuffer}. It is the responsibility of the caller to
know in advance that the string is 100% ascii. E.g if you convert a double/float to a string, you are sure it
only contains ascii chars.
protostuff-api/src/main/java/io/protostuff/StreamedStringSerializer.java