SliceBuilder.write

Write a string to the slice being built.

Data can only be written up to the current position in the Reader buffer.

If str is a string returned by a Reader method, and str starts right after the end of the slice being built, the slice is extended (trivial operation).

  1. void write(char[] str)
    struct SliceBuilder
    @safe pure nothrow @nogc
    void
    write
    (
    scope char[] str
    )
  2. void write(dchar c)

See Also

begin

Meta