Use this to feed the digest with data. Also implements the std.range.OutputRange interface for ubyte and const(ubyte)[].
1 { 2 typeof(this) dig; 3 dig.put(cast(ubyte)0); //single ubyte 4 dig.put(cast(ubyte)0, cast(ubyte)0); //variadic 5 ubyte[10] buf; 6 dig.put(buf); //buffer
See Implementation
Use this to feed the digest with data. Also implements the std.range.OutputRange interface for ubyte and const(ubyte)[].