Function addListOfBytes [src]

Prototype

pub fn addListOfBytes(hh: *HashHelper, list_of_bytes: []const []const u8) void

Parameters

hh: *HashHelperlist_of_bytes: []const []const u8

Source

pub fn addListOfBytes(hh: *HashHelper, list_of_bytes: []const []const u8) void { hh.add(list_of_bytes.len); for (list_of_bytes) |bytes| hh.addBytes(bytes); }