This is a slightly simpler way to create a ScopeBuffer instance that uses type deduction.
the initial buffer to use
an instance of ScopeBuffer
ubyte[10] tmpbuf = void; auto sb = scopeBuffer(tmpbuf); scope(exit) sp.free();
See Implementation
This is a slightly simpler way to create a ScopeBuffer instance that uses type deduction.