Function io_interner::starts_with

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

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

Errors

See io_op.