equal_n_bytes


Description:

[ Version ( since = "0.4.0" ) ]
public bool equal_n_bytes (Buffer other_buffer, int64 n_bytes)

Parameters:

this

A Buffer.

other_buffer

A Buffer to be compared.

n_bytes

The number of first bytes to be compared.

Returns:

true if both of them have the same data in the first `n_bytes`, false otherwise.