IMemStream.put

Put an element of type T into the stream

  1. void put(T val)
    struct IMemStream
    @trusted nothrow
    void
    put
    (
    T
    )
    (
    T val
    )
  2. void put(T data)
  3. void put(T data)
  4. void put(T val)
  5. void put(T val)

Examples

IMemStream m;
m.put!ubyte(13);
m.put!int(1_333_333);
m.put!double(0.31);

Meta