function bufferStartsWith (buffer, start, position) {
  if (buffer.length < start.length) {
    return false
  }

  for (let i = 0; i < start.length; i++) {
    if (start[i] !== buffer[position.position + i]) {
      return false
    }
  }

  return true
}
Checks if {@param buffer} starts with {@param start}
@param {Buffer} buffer
@param {Buffer} start
@param {{ position: number }} position