Function io_interner::starts_with[][src]

pub fn starts_with<R1: Read, R2: Read>(haystack: R1, needle: R2) -> Result<bool>

Checks if the first contents of the reader haystack are the ones of needle,an empty needle is always true.

Errors

See io_op.